U@PRINTMSG
U@PRINTMSG is gets and prints an error message for errors associated with an application program. Before entry, the caller sets the inputs in CRTWS. The error message (E@CRTMESSAGE), as built, is left in CRTWS after printing and displaying.
Module | BATCHERR |
Input |
E@PGMCODE E@ERRORCAT E@MSGNBR E@ERRORVARS |
Output |
E@CRTMESSAGE (expanded message) E@ERRORCAT (reset) E@MSGNBR (reset) E@ERRORVARS (reset) |
Programming Example
|