|
Project Information
Links
|
File error codes: Codes beginning with a '0' are considered successful, there just may be an FYI message. Codes beginning with a "1" are considered "at end" messages and those beginning with a "2" are considered "invalid key" messages. 00 Successful operation. (Any) 02 Key on record just read is duplicated on the next record (Read Next) Or key on record just added is duplicated in the file (Write, Rewrite) In either case the file allows duplicate keys. 05 Optional file is missing. If opened I-O the file was created. If this happened on a DELETE FILE then the file was not found. (Open, Delete File) 07 Attempted CLOSE REEL on a file that is not on tape. Close was successful. (Close) 0M Successful operation but some optional feature was not used or supported. (Any) 10 End of file. (Read Next) 14 Attempted sequential read on a relative file and relative key is too large. (Read Next) 21 Primary key written out of sequence or primary key on a rewrite does not match that of last record read. Only for indexed files opened sequentially. (Write, Rewrite) 22 Duplicate key found but not allowed. (Write, Rewrite) 23 Record not found. (Read) 24 Disk full. (Write, Rewrite) 24,01 Sequential write to a relative file and the relative key is too big. (Write) 30,nn Permanent error reported by the operating system. nn will be set to an operating system status value. (Any) 34 Disk full for sequential file or sort file. (Write, Sort) 35 File not found. (Open, Sort) 37,01 File being opened is not on the appropriate storage device for the mode it is being opened. (Open) 37,07 User does not authority to access the file. (Open) 37,08 Attempted open of print file for input. (Open) 37,09 Attempted open of a sequential file as I-O. (Open) 37,99 A Windows or NT run-time operation that is not network-enabled attempted to access a file on a remote machine. (Any) 38 File previously closed with LOCK. (Open) 39,nn File attributes do not match COBOL description. (Open) nn: 01 - Mismatch detected but source unknown. 02 - Mismatch with maximum record size. 03 - Mismatch with minimum record size. 04 - Mismatch with number of keys. 05 - Mismatch with primary key description. 06 - Mismatch with 1st alternate key description. 07 - Mismatch with 2nd alternate key description. List continues with each alternate key. 41 File already open. (Open) 42 File not open. (Close, Unlock) 43 No current record. (Rewrite, Delete) 44 Record size changed and file does not allow it. (Rewrite) Also can happen if record does not conform to the RECORD CONTAINS clause in the program (Write, Rewrite). 46 No current record. Either did not issue a START or it failed. (Read Next) Note that is error code can be generated with sequential files if an item in the FD is accessed before the 1st record is read or after the end of file was reached. 47,01 File not open for input or I-O. (Read, Start) 47,02 File not open. (Read, Start) 48,01 File opened for input or sequential file opened as I-O. (Write) 48,02 File not open. (Write) 49,01 File not opened for I-O. (Rewrite, Delete) 49,02 File not open. (Rewrite, Delete) 90 Unusable file. Maybe empty file opened as I-O. (Open) 91 Password failure. (Open) 92 File already open. (Open) File not open. (Close, Start) File not open or already at end. (Read, Read Next) File not open or incorrect key. (Write) File not open or no previous read. (Rewrite, Delete) 93 File locked by another user. (Open) Also possible if there is not enough virtual storage. Could also happen if the program that created the file did not explicitly close the file - especially non-sequential files. The ACUCOBOL debugger will generate this error if it attempts to open a file as output and the file already exists. 94,10 Too many files open. (Open) 94,62 One of the LINAGE values for this file is illegal or out of range. (Open, Write) 94,63 Key not specified for a SORT or MERGE statement. 95 Conflicting file attributes. (Open) 96 No DD statement. (Open) 97 File not closed by previous job. (Open) 98,nn Index is corrupt. (Any) 99 Record locked by another user. (Read, Write, Rewrite, Delete) 9A Not enough memory for operation. (Any - usually Sort) 9B Requested operation not supported by the operating system. (Any) 9C,01 Operating system lock table is full 9C,02 Internal global lock table is full 9C,03 Internal per-file lock table is full 9D,nn Host file system error. nn is the host file system error code. (Any) 9E,nn Error in the transaction system. See section J.4, "Transaction Error Codes". 9Z This run-time has a limit on the number of records that can be processed and that limit has been exceeded. (Any) |