COBOL Manual for TNS and TNS/R Programs
Run-Time Diagnostic Messages
HP COBOL Manual for TNS and TNS/R Programs—522555-006
48-60
Message List
A WRITE statement was attempted on a sequential file that does not meet any of these
criteria:
1. Its open mode is EXTEND or OUTPUT.
2. Its open mode is I-O and the device assigned is a process, a terminal or
$RECEIVE.
Effect. The statement is unsuccessful with I-O status code “48” except for Item 2 for
sequential, in which the I-O status code is “90.”
Recovery. Correct the program or assign the correct device.
212 (090)
Cause. The record length specified in the program (either by an OCCURS
DEPENDING clause in the record description of the record being written or by the
DEPENDING identifier in the RECORD VARYING clause in the file description entry) is
shorter than the minimum or larger than the maximum length specified in the RECORD
clause.
Effect. The WRITE or REWRITE statement is unsuccessful with I-O status code “44.”
Recovery. Correct the program—in either the record length calculation or the
RECORD clause.
213 (092)
Cause. A file is being opened for EXTEND, but the device assigned is an illegal
device or an input-only device (such as a card reader).
Effect. The OPEN statement is unsuccessful with I-O status code “37.”
Recovery. Assign the proper device or file.
214 (093)
Cause. A file is being opened for I-O, but the device assigned is an illegal device or an
input- or output-only device (such as a magnetic tape).
Effect. The OPEN statement is unsuccessful with I-O status code “37.”
Recovery. Assign the proper device or file.
Wrong length record specified for WRITE or REWRITE
OPEN EXTEND for file not on extend device
OPEN I-O for file not on input-output device