Skip to content

Instantly share code, notes, and snippets.

@MikeWills
Created June 27, 2011 19:54
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save MikeWills/1049671 to your computer and use it in GitHub Desktop.
Save MikeWills/1049671 to your computer and use it in GitHub Desktop.
Constants for error codes used in MONITOR statements.
// Error Status Fields (Numeric Order)
D PGM_SUCCESS C CONST(00000)
D FILE_EOF C CONST(00011)
D FILE_NO_RECORD_FOUND...
D C CONST(00012)
D FILE_SFL_FULL C CONST(00013)
D PGM_DIVIDE_BY_ZERO...
D C CONST(00102)
D PGM_ALPHA_NUMERIC_ERROR...
D C CONST(00105)
D PGM_INVALID_DATE_TIME...
D C CONST(00112)
D FILE_DUPLICATE_RECORD...
D C CONST(01021)
D FILE_IO_ON_CLOSED_FILE...
D C CONST(01211)
D FILE_ALREADY_OPEN...
D C CONST(01215)
D FILE_ERROR_I_OPENCLOSE...
D C CONST(01216)
D FILE_ERROR_E_OPENCLOSE...
D C CONST(01216)
D XML_PARSING_ERROR...
D C CONST(00351)
D XML_INVALID_OPTION...
D C CONST(00352)
D XML_DOC_DOESNT_MATCH_VARIABLE...
D C CONST(00353)
D XML_ERROR_PREPARING_PARSING...
D C CONST(00354)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment