Requesting dumps

You can cause a formatted dump of the Language Environment® runtime environment and the member language libraries at any prespecified point in your program by coding a call to the Language Environment callable service CEE3DMP.


77  Title-1          Pic x(80)   Display.
77  Options          Pic x(255)  Display.
01  Feedback-code    Pic x(12)   Display.
. . .
    Call "CEE3DMP" Using Title-1, Options, Feedback-code

To have symbolic variables included in the formatted dump, compile with the TEST compiler option and use the VARIABLES subparameter of CEE3DMP. You can also request, through runtime options, that a dump be produced for error conditions of your choosing.

You can cause a system dump at any prespecified point in your program. Request an abend without cleanup by calling the Language Environment service CEE3ABD with a cleanup value of zero. This callable service stops the run unit immediately, and a system dump is requested when the abend is issued.

related references  
TEST
Language Environment Debugging Guide
Language Environment Programming Reference (CEE3DMP--generate dump)