COBOL Manual for TNS and TNS/R Programs

Run-Time Diagnostic Messages
HP COBOL Manual for TNS and TNS/R Programs522555-006
48-51
Message List
177 (053)
Cause. A file is being opened for OUTPUT, but the device assigned is an illegal device
or an input-only device (such as a card reader).
Effect. The OPEN statement is unsuccessful with I-O status code “37.”
Recovery. Assign the proper device or file.
178 (054)
Cause. The file assigned is a relative file, but the COBOL loadfile description does not
specify ORGANIZATION RELATIVE.
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.
179 (055)
Cause. The file assigned is a sequential file (entry sequenced or unstructured), but the
COBOL loadfile description specifies an organization other than sequential.
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.
180 (056)
Cause. The COBOL program describes the file as ORGANIZATION RELATIVE or
INDEXED, but the assigned file is not a structured disk file. Only structured disk files
can be assigned to RELATIVE or INDEXED COBOL files.
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.
OPEN OUTPUT for file not on output device
Relative file not defined as ORGANIZATION RELATIVE
Sequential file not defined as ORGANIZATION SEQUENTIAL
Non-disk or unstructured file and not sequential organization