Previous Topic Next topic Print topic


Valid Combinations of Status Keys 1 And 2

In the following table: "S" indicates a Record Sequential file,

MF  "L " indicates a Line Sequential file,

"R" indicates a Relative file and "I" indicates an Indexed file.

A particular combination of status key 1 and status key 2 is valid for a given file organization if the letter for that organization is found at the corresponding intersection in the table below.

Table 1. Valid Combinations of Status Keys 1 and 2
Status Key 1 Status Key 2
0 1 2 3 4 5 6 7 8 9
Successful Completion 0 SRIL   I   SRIL SRIL   S    
At End 1 SRIL       R          
Invalid Key 2   I RI RI RI          
Permanent Error 3 SRIL       SL SRIL   SRIL SRIL SRIL
Logic Error 4   SRIL SRIL SRIL SRIL   SRIL SRIL SRIL SRIL
Implementor Defined 9 Run-Time System Error Message (SRIL)
Previous Topic Next topic Print topic