While not a "dump" in the strictest sense, the SNAP compile-time option is used to find out what error conditions are raised in your program and where they are raised. SNAP provides the same trace information provided by PLIDUMP "T" option (see Formatted PL/I dumps—PLIDUMP). Like PLIDUMP, SNAP can be issued multiple times throughout one run of a program.
An example of a call for a SNAP dump is:
on attention snap;
This statement calls for a SNAP dump if the ATTENTION condition is raised.