COBOL Manual for TNS/E Programs (H06.08+, J06.03+)

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
OPEN on an EDIT file and wrong open mode
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
OPEN on an EDIT file described with a record size that is too big
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.
161
OPEN EXTEND positioning failed with error nnn
Cause
The attempt to position the file at the end during the processing of an OPEN EXTEND statement
failed with Guardian error nnn.
Effect
The OPEN 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.
162
OPEN on a nonexistent file that is not OPTIONAL
Cause
The file referenced in an OPEN … EXTEND, I-O, or INPUT statement does not exist, and
OPTIONAL is not specified in the SELECT clause for the file.
Effect
The OPEN statement is unsuccessful with I-O status code “35.
Message List 1205