COBOL Manual for TNS and TNS/R Programs
Run-Time Diagnostic Messages
HP COBOL Manual for TNS and TNS/R Programs—522555-006
48-50
Message List
Recovery. Create the file correctly before running the program, assign the correct file,
or remove the alternate key specifications.
173 (049)
Cause. The file assigned is an indexed (key sequenced) file, but the COBOL loadfile
description does not specify ORGANIZATION INDEXED.
Effect. The OPEN statement is unsuccessful with I-O status code “39.”
Recovery. Assign the correct file or correct the file description in the program.
174 (050)
Cause. A file is being opened for INPUT, but the device assigned is an illegal device
or an output-only device (such as a printer).
Effect. The OPEN statement is unsuccessful with I-O status code “37.”
Recovery. Assign the correct device or file.
175 (051)
Effect. The program attempted an operation other than OPEN (such as READ or
WRITE) on a file that is not open.
Effect. The statement is unsuccessful with I-O status code “4x ” where x is
appropriate for the statement.
Recovery. Correct the program.
176 (052)
Cause. A TIME LIMIT operation (such READ … TIME LIMIT nn ) was attempted on a
file that was not opened with TIME LIMITS specified.
Effect. The operation is unsuccessful with I-O status code “90.”
Recovery. Correct the program to do an OPEN … TIME LIMITS.
Indexed file not defined as ORGANIZATION INDEXED
OPEN INPUT when file not on input device
Operation other than OPEN on file that is not open
File is not opened for timed I/O