Example: how CHNGDUMP commands affect dump modes and options

Table 1 (using SYSABEND) shows how dump modes and system dump options are set during system initialization and then changed by CHNGDUMP commands or options specified on ABEND macro dump requests. The figure assumes that parmlib member IEAABD00 specifies dump options CB, DM, ENQ, ERR, IO, LSQA, SUM, and TRT. The figure lists system and operator actions and explains each action the system takes.
Table 1. Example of How CHNGDUMP Commands Affect Dump Modes and Options
FUNCTION (* indicates operator commands/actions) OPTIONS MODE
*
IPL

During IPL, parmlib options are set on, and mode is set to ADD.

CB    IO
DM    LSQA
ENQ   SUM
ERR   TRT
ADD
 
ABEND SDATA=(NUC,SWA)

Because mode is ADD, options specified on dump request are added to options set on in options list to determine areas to dump.

CB    LSQA
DM    NUC
ENQ   SUM
ERR   SWA
IO    TRT
ADD
*
CD SET,SYSABEND,SDATA=PCDATA

An additional option is set on in options list.

CB    LSQA
DM    PCDATA
ENQ   SUM
ERR   TRT
IO
ADD
 
ABEND

Because dump request specified no additional options, only options set on in options list determine areas to dump.

CB     LSQA
DM     PCDATA
ENQ    SUM
ERR    TRT
IO
ADD
 
ABEND SDATA=(NUC,SWA)

Because mode is ADD, options specified on dump request are added to options set on in options list to determine areas to dump.

CB     NUC
DM     PCDATA
ENQ    SUM
ERR    SWA
IO     TRT
LSQA
ADD
*
CD SET,SYSABEND,OVER,SDATA=(CB,IO)

Mode is changed to OVER and parmlib options are deleted from options lists. Only options set by previous CD commands remain on in options list; CD commands are cumulative. Options in options list are combined with override options to determine areas to dump.

CB
IO
PCDATA
OVER
 
ABEND SDATA=(SWA,TRT)

Because mode is OVER, options specified on dump request are ignored. Options set on in options list determine areas to dump.

CB
IO
PCDATA
OVER
*
CD SET,SYSABEND,SDATA=(ENQ, LSQA),OVER

Two more options are set on in options list, and mode is unchanged.

CB      LSQA
ENQ     PCDATA
IO
OVER
*
CD SET,SYSABEND,SDATA=NUC

Mode is changed to ADD (the default) for SYSABEND, parmlib options are set on, and CD command options are set on. Previous CD command options remain on.

CB     LSQA
DM     NUC
ENQ    PCDATA
ERR    SUM
IO     TRT
ADD
 
ABEND SDATA=(CB,SWA,NUC)

Because mode is ADD, options specified on dump request are added to options set on in options list to determine areas to dump.

CB     NUC
DM     PCDATA
ENQ    SUM
ERR    SWA
IO     TRT
LSQA
ADD
*
CD SET,SYSABEND,NODUMP

Mode is changed to NODUMP. All options in options list are set off.

  NODUMP
 
ABEND SDATA=(CB,SWA,NUC)

Because mode is NODUMP, request is ignored.

  NODUMP
*
CD SET,SYSABEND,SDATA=SQA

Mode is changed to ADD. Parmlib options on this CD command are set.

CB     LSQA
DM     SQA
ENQ    SUM
ERR    TRT
IO
ADD
*
CD DEL,SYSABEND,SDATA=(DM,IO)

Because DEL is specified, specified options in options list are set off.

CB     SQA
ENQ    SUM
ERR    TRT
LSQA
ADD
*
CD DEL,SYSABEND,SDATA=(SQA, LSQA,TRT, CB,ENQ,ERR,SUM)

Specified options are set off in options list.

  ADD
 
ABEND SDATA=(SQA)

The option specified in the dump request determines the area to dump. There are no options on in the options list.

SQA ADD
*
CD RESET,SYSABEND

Mode and options list are reset to values established at system initialization.

CB     IO
DM     LSQA
ENQ    SUM
ERR    TRT
ADD