Termination imminent step and the TERMTHDACT runtime option
You can use the TERMTHDACT runtime option to set the type of information you receive after your application terminates in response to a severity 2, 3, or 4 condition. For example, you can specify that a message or dump is to be generated if the application terminates.
TERMTHDACT behavior under z/OS UNIX differs slightly; for details, see Termination imminent step under z/OS UNIX.