Where allowed to run:
|
Parameters Examples Error messages |
The Dump CL Program (DMPCLPGM) command dumps variables (used in the CL program in which the command is processed) and all messages on the program's message queue to a spooled printer file (QPPGMDMP).
There are no parameters for this command.
Top |
PGM DCL . . . DCL . . . MONMSG MSGID(CPF9999) EXEC(GOTO DUMP) : RETURN DUMP: DMPCLPGM ENDPGM
This CL procedure monitors for the function check message CPF9999. If a function check occurs in the procedure, control is passed to the command at label DUMP. This causes a dump of the program's message queue and causes the procedure's variables to be printed. This dump can be used to determine the cause of the function check.
Top |
Top |