COBOL Manual for TNS and TNS/R Programs

Run-Time Diagnostic Messages
HP COBOL Manual for TNS and TNS/R Programs522555-006
48-44
Message List
Recovery. Check PERFORM statements for proper termination or reduce the
complexity of the program. It might be helpful to recompile the program with the
directive PERFORM-TRACE.
150 (024)
Cause. During the execution of an OPEN statement, the description of an alternate
key in the COBOL program does not correspond to any alternate key in the physical
file that is assigned. That is, no key in the physical file matches the COBOL description
in length and offset.
Effect. The OPEN statement is unsuccessful with I-O status code “39.”
Recovery. Correct either the program or the FUP CREATE or other process that
created the file.
151 (025)
Cause. During the execution of an OPEN statement, the description of an alternate
key in the COBOL program includes the DUPLICATES phrase, and the key in the
physical file that is assigned does not allow duplicates, or the program does not include
DUPLICATES and the file allows duplicates.
Effect. The OPEN statement is unsuccessful with I-O status code “39.”
Recovery. Correct either the program or the FUP CREATE or other process that
created the file.
152 (026)
Cause. The physical file assigned by the OPEN statement is not a structured disk file,
but the COBOL program described it with alternate keys. Alternate keys are allowed
only on structured disk files.
Effect. The OPEN statement is unsuccessful with I-O status code “39.”
Recovery. Either correct the program or assign the proper file.
Alternate key not present in file
DUPLICATES specification in SELECT does not match file
OPEN on a non-disk file that is specified with alternate keys