COBOL Manual for TNS/E Programs (H06.03+)
Run-Time Diagnostic Messages
HP COBOL Manual for TNS/E Programs—520347-003
48-36
Message List
172
Cause. A file with alternate keys specified does not exist when the attempt is made to
open it. The file must have been created with a FUP CREATE or other means before it
can be opened.
Effect. The OPEN statement is unsuccessful with I-O status code “30.”
Recovery. Create the file correctly before running the program, assign the correct file,
or remove the alternate key specifications.
173
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
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
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.
OPEN on a nonexistent file and alternate keys specified
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










