Status Codes
| %Error | On-Error | %Status | Description |
*Off
| n/a | 00000
| No exception/error |
*Off
| n/a | 00001
| Call program ended with *Inlr = *On |
*Off
| n/a | 00002
| Function key pressed |
*Off
| n/a | 00011
| End of file (%Eof = *On) |
*Off
| n/a | 00012
| Record not found (%Found = *Off) |
*Off
| n/a | 00013
| Write to full subfile |
*Off
| n/a | 00050
| Conversion resulted in substitution |
*On
| *Program
| 00100
| String operation, value out of range |
*On
| *Program
| 00101
| Negative square root |
*On
| *Program
| 00102
| Divide by zero |
*On
| *Program
| 00103
| Intermediate result too small to contain result |
*On
| *Program
| 00104
| Float underflow; intermediate value too small |
*On
| *Program
| 00105
| Invalid character/numeric conversion |
*On
| *Program
| 00112
| Invalid date/time/timestamp value |
*On
| *Program
| 00113
| Date overflow or underflow |
*On
| *Program
| 00114
| Date mapping error |
*On
| *Program
| 00115
| Invalid length for variable length field |
*On
| *Program
| 00120
| Table/array out of sequence |
*On
| *Program
| 00121
| Invalid array index |
*On
| *Program
| 00122
| Occur value out of range |
*On
| *Program
| 00123
| Reset attempt during initialization |
*On
| *Program
| 00202
| Call to program or procedure ended in error |
*On
| *Program
| 00211
| Error occurred while calling program or procedure |
*On
| *Program
| 00221
| Called program tried to use unpassed parameter |
*On
| *Program
| 00222
| Pointer or parameter error |
*On
| *Program
| 00231
| Called program returned with Halt indicator on |
*On
| *Program
| 00232
| Halt indicator is on |
*On
| *Program
| 00233
| Return ran with Halt indicator on |
*On
| *Program
| 00299
| RPG dump failed |
*On
| *Program
| 00301
| Error in method call |
*On
| *Program
| 00302
| Error converting Java array to RPG parameter, entering Java method |
*On
| *Program
| 00303
| Error converting RPG parameter to Java array, exiting RPG native method |
*On
| *Program
| 00304
| Error converting RPG parameter to Java array, preparing Java call |
*On
| *Program
| 00305
| Error converting Java array to RPG parameter/return value, exiting Java method |
*On
| *Program
| 00306
| Error converting RPG return value to Java array |
*On
| *Program
| 00333
| Error on Dsply operation |
*On
| *Program
| 00351
| Error parsing XML document |
*On
| *Program
| 00352
| Invalid option for %Xml |
*On
| *Program
| 00353
| XML document does not match RPG variable |
*On
| *Program
| 00354
| Error preparing for XML Parsing |
*On
| *Program
| 00401
| Data area not found |
*On
| *Program
| 00402
| *Pda not valid for non-prestart job |
*On
| *Program
| 00411
| Data area types/lengths do not match |
*On
| *Program
| 00412
| Data area not allocated for output |
*On
| *Program
| 00413
| I/O error while processing data area |
*On
| *Program
| 00414
| Not authorized to use data area |
*On
| *Program
| 00415
| Not authorized to change data area |
*On
| *Program
| 00421
| Error while unlocking data area |
*On
| *Program
| 00425
| Requested storage allocation length out of range |
*On
| *Program
| 00426
| Error during storage management operation |
*On
| *Program
| 00431
| Data area allocated to another process |
*On
| *Program
| 00432
| Data area *Lock not granted |
*On
| *Program
| 00450
| Character field not enclosed by SO/SI |
*On
| *Program
| 00451
| Cannot convert CCSIDs |
*On
| *Program
| 00501
| Sort sequence not retrieved |
*On
| *Program
| 00502
| Sort sequence not converted |
*On
| *Program
| 00802
| Commitment control not active |
*On
| *Program
| 00803
| Rollback failed |
*On
| *Program
| 00804
| Commit error |
*On
| *Program
| 00805
| Rolbk error |
*On
| *Program
| 00907
| Decimal data error |
*On
| *Program
| 00970
| Compiler/runtime level check |
*On
| *File
| 01011
| Undefined record type |
*On
| *File
| 01021
| Record already exists |
*On
| *File
| 01022
| Referential constraint error |
*On
| *File
| 01023
| Trigger program error before operation |
*On
| *File
| 01024
| Trigger program error after operation |
*On
| *File
| 01031
| Match field sequence error |
*On
| *File
| 01041
| Array/table load sequence error |
*On
| *File
| 01042
| Array/table load sequence error (alternate collating sequence used) |
*On
| *File
| 01051
| Excess entries in array/table file |
*On
| *File
| 01071
| Record out of sequence |
*On
| *File
| 01121
| No Print key DDS keyword indicator |
*On
| *File
| 01122
| No Page Down DDS keyword indicator |
*On
| *File
| 01123
| No Page Up DDS keyword indicator |
*On
| *File
| 01124
| No Clear key DDS keyword indicator |
*On
| *File
| 01125
| No Help key DDS keyword indicator |
*On
| *File
| 01126
| No Home key DDS keyword indicator |
*On
| *File
| 01201
| Record mismatch detected on input |
*On
| *File
| 01211
| I/O operation to closed file |
*On
| *File
| 01215
| Open issued to already open file |
*On
| *File
| 01216
| Error on implicit open/close |
*On
| *File
| 01217
| Error on explicit open/close |
*On
| *File
| 01218
| Record locked |
*On
| *File
| 01221
| Update/delete operation without prior read |
*On
| *File
| 01222
| Referential constraint error |
*On
| *File
| 01231
| Error on Special file |
*On
| *File
| 01235
| Error in Prtctl space/skip entries |
*On
| *File
| 01241
| Record number not found |
*On
| *File
| 01251
| Permanent I/O error |
*On
| *File
| 01255
| Session/device error |
*On
| *File
| 01261
| Attempt to exceed maximum number of devices |
*On
| *File
| 01271
| Attempt to acquire unavailable device |
*On
| *File
| 01281
| Operation to unacquired device |
*On
| *File
| 01282
| Job ending with controlled option |
*On
| *File
| 01284
| Unable to acquire second device |
*On
| *File
| 01285
| Attempt to acquire allocated device |
*On
| *File
| 01286
| Attempt to open shared file with Savds/Savind |
*On
| *File
| 01287
| Response indicators overlap Savind indicators |
*On
| *File
| 01299
| I/O error detected |
*On
| *File
| 01331
| Wait time exceeded for Workstn file |
*On
| *File
| 09998
| Internal failure in RPG compiler or runtime routines |
*On
| *File
| 09999
| Program exception in system routine |
Index | HomePage | Programming | RPG IV | Status Codes