Microsoft KB Archive/51595

From BetaArchive Wiki

List of COBOL 3.00/3.00a Run-Time Error Numbers and Messages

PSS ID Number: Q51595 Article last modified on 12-19-1989

3.00 3.00a | 3.00 3.00a MS-DOS | OS/2

Summary: This article contains a complete listing of all of the error numbers and messages that can be produced at run time by programs compiled with the Microsoft COBOL Compiler Versions 3.00 and 3.00a for MS-DOS and MS OS/2. For more information about any of these errors, see Chapter 4 (Pages 4-5 to 4-46) of the “Microsoft COBOL Compiler 3.0: Error Messages Manual.” This is NOT a list of compile-time errors. Compile-time errors can be found in Chapters 2 and 3 of the “Microsoft COBOL Compiler 3.0: Error Messages Manual.” Please note that three of these errors (137, 144, and 225) are not documented in the manual. A separate article that describes these errors in more detail can be found in this Knowledge Base by querying on the following words: COBOL and 137 and 144 and 225 and docerr These errors are marked in the following list by asterisks after the error number. The following information applies only to Microsoft COBOL Compiler Versions 3.00 and 3.00a for MS-DOS and OS/2:

Error Error Number Message —— ——- 001 Insufficient buffer space 002 File not open when access attempted 003 Serial mode error (or device not executable) 004 Illegal file name (or illegal character) 005 Illegal device specification 006 Attempt to write to a file opened for INPUT 007 Disk space exhausted (Out of disk space) 008 Attempt to input from a file opened for OUTPUT 009 No room in directory (or directory not found) 010 File name not supplied 012 Attempt to open a file which is already open 013 File not found 014 Too many files open simultaneously 015 Too many indexed files open 016 Too many device files open 017 Record error: Probably zero length 018 Read part record error: EOF before EOR or file open in wrong mode 019 Rewrite error: open mode or access mode wrong 020 Device or resource busy (device unavailable) 021 File is a directory 022 Illegal or impossible access mode for OPEN 023 Illegal or impossible access mode for CLOSE 024 Disk input-output error 025 Operating system data error 026 Block I-O error (disk access error) 027 Device not available 028 No space on device 029 Attempt to delete open file 030 File system is read-only (or write-protected) 031 Not owner of file 032 Too many indexed files, or no such process 033 Physical I-O error (hardware problem) 034 Incorrect mode or file descriptor 035 Attempt to access a file with incorrect permission 036 File already exists 037 File access denied 038 Disk not compatible 039 File not compatible 040 Language Initialization not set up correctly 041 Corrupt indexed file 042 Attempt to write on broken pipe 043 File information missing for indexed file 047 Indexed structure overflow (ISAM too big or bad type) 065 File locked 066 Attempt to add duplicate record key to indexed file 067 Indexed file not open 068 Record locked 069 Illegal argument to ISAM module 070 Too many indexed files open (same as error 15) 071 Bad indexed file format 072 End of indexed file 073 No record found in indexed file 074 No current record in indexed file 075 Indexed data file name too long 076 Can’t create lock file in /ISAM directory 077 Internal ISAM module error 078 Illegal key description in indexed file 081 Key already exists in indexed file 100 Invalid file operation 101 Illegal operation on an indexed file 102 Sequential file with non-integral number of records 104 Null file name used in file operation 105 Memory allocation error (not enough memory) 106 Dictionary error 107 Operation not implemented on the Run-Time System 108 Failure to initialize data division 109 Invalid checksum in Run-Time System 116 Cannot Allocate Memory 117 Bad collating sequence (internal system error) 118 Symbol not found (cannot load object file) 119 Symbol redefined (duplicate symbol or name) 120 Symbol string table of zero size 121 Symbol is not in text section 122 COBLONGJMP called below level of COBSETJMP 123 Unknown relocation type (incompatible object files) 129 Attempt to access record zero of relative file 135 File must not exist (illegal open for OUTPUT) 137 ** Open mode not supported for this file (or device) 138 File closed with lock - cannot be opened 139 Record length or key data inconsistency 141 File already open - cannot be opened 142 File not open - cannot be closed 143 Rewrite/delete in sequential mode not preceded by successful read 144 ** Boundary Violation (bad record length) 146 No current record defined for sequential read 147 Wrong open or access mode for read/start 148 Wrong open or access mode for write 149 Wrong open or access mode for rewrite/delete 150 Program abandoned at user request 151 Random read on sequential file 152 REWRITE on file not open I-O 153 Subscript out of range 154 PERFORM nested too deeply 155 Illegal command line 156 Too many brackets in a compute statement 157 Not enough memory: object file too large to load 158 Attempt to REWRITE to a line-sequential file 159 Malformed line-sequential file 160 Overlay loading error 161 Illegal intermediate code 162 Arithmetic overflow or underflow 163 Illegal character in numeric field 164 Run-Time subprogram not found 165 Version number incompatibility (Intermediate code and run-time system incompatible) 166 Recursive COBOL CALL is illegal 167 Too many USING items 168 Stack overflow 169 Illegal configuration information (usually ADIS) 170 System Program no found (ADIS, IXSIO, etc.) 171 Japanese operations illegal with this RTS 172 Recursive non-MF PERFORM is illegal 173 Called program file not found in drive/directory 175 Attempt to run intermediate code with severe errors 176 Illegal inter-segment reference 177 Attempt to cancel active program 178 Error during save 179 Error during chain (program not found) 180 End-Of-File marker error 181 Invalid parameter error 182 Console input or output open in wrong direction 183 Attempt to open line-sequential file for I-O 184 ACCEPT/DISPLAY I-O error 187 Run-Time System not found on $COBDIR path 188 File name too large 189 Intermediate code load error 190 Too many arguments to CALL 191 Terminal type not defined 192 Required terminal capability description missing 193 Error in variable length count (bad intermediate code) 194 File size too large 195 DELETE/REWRITE not preceded by a read 196 Record number too large in relative or indexed mode 197 Screen handling system initialization error 198 Load failure 199 Operating system error out of defined range 200 Run-Time System internal logic error 201 I-O error in paging system 202 Exported functionality error 203 CALL parameter not supplied 206 Reading unwritten data from memory file 207 Machine does not exist (device unavailable) 208 Error in multi-user system 209 Network communication error 210 File is closed with lock 211 Program linked with wrong library 212 Malformed assembler subroutine file 213 Too many locks 214 GO TO has not been ALTERed 215 Cannot animate a program running COMMUNICATIONS 216 Cannot initialize the named communications device 217 Incompatible host for native code file 218 Malformed MULTIPLE REEL/UNIT file 219 Operating system shared file limit exceeded 220 Cannot execute more than one SORT or MERGE simultaneously 221 SORT/MERGE error: see status key 222 SORT/MERGE error: see status key 223 SORT/MERGE error: see status key 225 ** Program component not found 254 Keyboard interrupt to ANIMATOR during ACCEPT

Copyright Microsoft Corporation 1989.