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

Recovery
Type ERROR nnn to see the meaning of the Guardian error; it might indicate corrective action.
A value of “48,” for example, means that the program does not have permission to purge an
existing file that has an improper record size and create a new one.
185
Purge data from file during OPEN failed with error nnn
Cause
During the execution of an OPEN statement, the attempt to purge the data from the file (the
purge is due to an OPEN OUTPUT on a file that contains data) 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.
186
READ operation failed with error nnn
Cause
During the execution of a READ statement, the system read routine failed with Guardian error
nnn.
Effect
The READ 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.
187
READ WITH LOCK on file with read ahead or an OSS file
Cause
A READ … LOCK statement was attempted on an OSS file or a file that is reading ahead. This
can happen if the file is opened for INPUT and the organization is sequential. A READ operation
that is executed as part of a transaction (delimited by ENTER “BEGINTRANSACTION” and
ENTER “ENDTRANSACTION” statements) requires such locking.
Effect
The READ statement is unsuccessful with I-O status code “91.
Recovery
For a Guardian file, either remove the LOCK or open the file for I-O. For an OSS file, remove
the LOCK.
188
READ positioning failed with error nnn
Cause
An attempt to position the file for a READ statement failed with Guardian error nnn.
Effect
The READ 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.
Message List 1211