TERMTHDACT (non-CICS)
TERMTHDACT sets the level of information that is produced when an unrecoverable error
occurs. Select the information you wish to receive in each environment by enabling the
appropriate checkboxes.
The Language Environment service CEE3DMP is called for the TRACE and DUMP
suboptions of TERMTHDACT.
The following CEE3DMP options are passed for TRACE and UATRACE:
- NOENTRY CONDITION TRACEBACK THREAD(ALL) NOBLOCK NOSTORAGE NOVARIABLES
NOFILES STACKFRAME(ALL) PAGESIZE(60) FNAME(CEEDUMP)GENOPTS
The following options are passed for DUMP and UADUMP:
- THREAD(ALL) NOENTRY TRACEBACK FILES VARIABLES BLOCK STORAGE
STACKFRAME(ALL) PAGESIZE(60) FNAME(CEEDUMP) CONDITION GENOPTS
If a message is printed, based upon the TERMTHDACT(MSG) run-time option,
the message is for the active condition immediately prior to the termination
imminent step. In addition, if that active condition is a promoted
condition (was not the original condition), the original condition's
message is printed.
If the TRACE run-time option is specified with the DUMP suboption, a dump
containing the trace table, at a minimum, is produced. The contents of
the dump depend on the values set in the TERMTHDACT run-time option.
- TRACE (traceback only enabled)
- Specifies that when a thread terminates due to an unhandled condition of
severity 2 or greater, Language Environment generates a message indicating the
cause of the termination and a trace of the active routines on the activation
stack.
- MSG (no selections enabled)
- Specifies that when a thread terminates due to an unhandled condition of
severity 2 or greater, Language Environment generates a message indicating the
cause of the termination.
- DUMP (LE-formatted dump or LE-formatted dump and traceback enabled)
- Specifies that when a thread terminates due to an unhandled condition of
severity 2 or greater, Language Environment generates a message indicating the
cause of the termination, a trace of the active routines on the activation
stack, and a Language Environment dump.
- UADUMP (system dump and LE-formatted dump or all options enabled)
- Specifies that when a thread terminates due to an unhandled condition of
severity 2 or greater, Language Environment generates a message indicating the
cause of the termination, a Language Environment dump, and generates a U4039
abend which allows a system dump of the user address space to be
generated. Under non-CICS, if the appropriate DD statement is used, you
will get a system dump of your user address space. Under CICS, you will
get a CICS transaction dump.
- UATRACE (traceback and system dump enabled)
- Specifies that when a thread terminates due to an unhandled condition of
severity 2 or greater, Language Environment generates a message indicating the
cause of the termination, a trace of the active routines on the activation
stack, and generates a U4039 abend which allows a system dump of the user
address space to be generated.
- UAONLY (system dump only enabled)
- Specifies that when a thread terminates due to an unhandled condition of
severity 2 or greater, Language Environment generates a U4039 abend which
allows a system dump of the user address space to be generated. Under
non-CICS, if the appropriate DD statement is used, you will get a system dump
of your user address space. Under CICS, you will get a CICS transaction
dump.
Notes :
- z/OS UNIX System Services consideration : The TERMTHDACT option applies when a
thread
terminates abnormally. Abnormal termination of a single thread causes termination of the entire
enclave. If an
unhandled condition of severity 2 or higher percolates beyond the first routine's
stack frame,
the enclave terminates abnormally. If an enclave terminates due to a POSIX default
signal action, TERMTHDACT applies only to conditions that result from program checks or
abends.