COBOL Manual for TNS/E Programs (H06.08+, J06.03+)
NOTE: If the Common Run-Time Environment (CRE) DLL used is earlier than version T1269H03,
the following run-time diagnostic message is displayed instead:
*** Run-time Error 149*** Unknown error ordinal
150
Alternate key not present in file
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
DUPLICATES specification in SELECT does not match file
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
OPEN on a non-disk file that is specified with alternate keys
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.
153
Create of new file failed with error nnn
Cause
During the attempt to create a new file during the execution of an OPEN statement, Guardian
error nnn was returned by the operating environment.
Effect
The OPEN statement is unsuccessful with I-O status code “30.”
Message List 1203










