COBOL Manual for TNS and TNS/R Programs

Run-Time Diagnostic Messages
HP COBOL Manual for TNS and TNS/R Programs522555-006
48-46
Message List
157 (031)
Cause. A DELETE statement was executed, but the file was not open for I-O.
Effect. The DELETE statement is unsuccessful with I-O status code “49.”
Recovery. Correct the program.
158 (032)
Cause. The attempt to delete a record during the processing of a DELETE statement
was rejected with Guardian error nnn.
Effect. The DELETE statement is unsuccessful with I-O status code “30”.
Recovery. Type ERROR nnn to see the meaning of the Guardian error; it might
indicate corrective action.
159 (034)
Cause. An EDIT file is opened for other than INPUT. HP COBOL cannot write to an
EDIT file.
Effect. The OPEN statement is unsuccessful with I-O status code “39.”
Recovery. Correct the program, or assign other than an EDIT file. You can write to an
unstructured file or an entry sequenced file, then use the GET PUT operation of EDIT
to produce an EDIT file.
160 (035)
Cause. The maximum record size for an EDIT file is 4095 bytes.
Effect. The OPEN statement is unsuccessful with I-O status code “39.”
Recovery. Correct the program, or assign other than an EDIT file.
Wrong open mode for DELETE
DELETE operation failed with error nnn
OPEN on an EDIT file and wrong open mode
OPEN on an EDIT file described with a record size that is too
big