COBOL Manual for TNS/E Programs (H06.08+, J06.03+)

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.
181
OPEN operation failed with error nnn
Cause
A Guardian error nnn was returned during OPEN or COBOL_SPECIAL_OPEN_ processing.
Effect
The OPEN statement or the call to COBOL_SPECIAL_OPEN_ is unsuccessful with I-O status code
“30.
Recovery
Type ERROR nnn to see the meaning of the Guardian error; it might indicate corrective action.
182
Primary key offset in program does not match file
Cause
During the execution of an OPEN statement, the prime key offset in the COBOL program does
not correspond to the prime key in the physical file that is assigned.
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.
183
Primary key size in program does not match file
Cause
During the execution of an OPEN statement, the prime key size in the COBOL program does
not correspond to the prime key in the physical file that is assigned.
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.
184
Purge of file during OPEN failed with error nnn
Cause
During the execution of an OPEN statement, the attempt to purge a file (the purge is due to some
attribute conflicts) failed with Guardian error nnn.
Effect
The OPEN statement is unsuccessful with I-O status code “30”.
1210 Run-Time Diagnostic Messages