If status key 1 contains "3" to indicate a permanent error condition, status key 2 can contain one of the following values to indicate the cause of that error:
"0" | (all files) Indicates that no further information is available concerning the cause of the error. |
"4" | (sequential files only) Indicates a boundary violation. An attempt has been made to write beyond the externally defined boundaries of a file. |
"5" | (all files) Indicates that an OPEN statement with the INPUT, I-O, or EXTEND phrase has been attempted on a non-optional file that is not present. |
"7" | (all files) Indicates that an OPEN statement has been attempted on a file which does not support the open mode specified in
the OPEN statement. The possible violations are:
|
"8" | (all files) Indicates that an OPEN statement has been attempted on a file previously closed with lock. |
"9" | (record sequential, relative and indexed files) Indicates that a conflict has been detected between the fixed file attributes and the attributes specified for that file in the source element. |