Perform the following steps to generate a system dump from a z/OS UNIX shell:
- Using _BPXK_MDUMP
- Specify where to write the system dump
- Specify Language Environment runtime
options, where suboption is UAONLY, UADUMP,
UATRACE, or UAIMM.
export _CEE_RUNOPTS="termthdact(suboption)"
If UAIMM is set, TRAP(ON,NOSPIE) must also be set. The TERMTHDACT
suboption determines the level of detail of the Language Environment formatted
dump. For more details about the TERMTHDACT suboptions, see Generating a Language Environment dump with TERMTHDACT.
- Rerun the program.
When you are done, the system dump is written
to the data set name or HFS file name specified. For additional _BPXK_MDUMP
information see z/OS UNIX System Services Planning and z/OS UNIX System Services Programming: Assembler Callable Services Reference.
- Using DYNDUMP
- Specify Language Environment runtime
options:
export _CEE_RUNOPTS="termthdact(suboption),DYNDUMP(hlq,DYNAMIC,TDUMP)"
- suboption
- is UAONLY, UADUMP, UATRACE, or UAIMM. If UAIMM is set, TRAP(ON,NOSPIE)
must also be set. The TERMTHDACT suboption determines the level of
detail of the Language Environment formatted
dump. For more details about the TERMTHDACT suboptions, see Generating a Language Environment dump with TERMTHDACT.
- hlq
- the high level qualifier for the dump data set to be created.
- Rerun the program.
When you are done, the system dump is written to the name
generated by the DYNDUMP runtime option. For additional DYNDUMP information
see z/OS Language Environment Programming Reference.
Note: You can also specify the signal SIGDUMP on the kill command
to generate a system dump of the user address space. For more information
regarding the SIGDUMP signal, see
z/OS UNIX System Services Command Reference.