IBM dump options are provided to check the setup in order to provide a complete dump.
Any mainframe product or release
MVS defines the starting dump options for each dump type in SYS1.PARMLIB
SDUMP has no parmlib member and starts with empty options.
ABDUMP parameters for a SYSUDUMP data set may be specified as follows:
As an example, IEADMP00 might be coded as follows:
SDATA=(CB,DM,ENQ,ERR,IO,LSQA,PCDATA,SUM,SWA,TRT),PDATA=ALLPDATA
ALLDATA - All the following options are automatically specified
Use a DISPLAY DUMP operator command to get the dump mode and options in effect for SVC dumps, SYSABEND, SYSMDUMP and SYSUDUMP. It will look like:
DISPLAY DUMP,OPTIONS (or D D,O)
IEE857I 13.06.09 DUMP OPTION 912
SYSABEND- ADD PARMLIB OPTIONS SDATA=(NUC,SQA,LSQA,SWA,TRT,CB,ENQ,DM,
IO,ERR,PCDATA,SUM,ALLVNUC), PDATA=(SA,REGS,LPA,
JPA,PSW,SPLS,SUBTASKS)
SYSUDUMP- ADD PARMLIB OPTIONS SDATA=(LSQA,SWA,TRT,CB,ENQ,DM,IO,ERR,
PCDATA,SUM),PDATA=(SA,REGS,LPA,JPA,PSW,SPLS,
SUBTASKS)
SYSMDUMP- ADD PARMLIB OPTIONS (NUC,SQA,LSQA,SWA,TRT,RGN,LPA,CSA,SUM,
ALLNUC,GRSQ,PSA,WLM)
SDUMP- ADD OPTIONS (ALLPSA,PSA,NUC,SQA,LSQA,RGN,LPA,TRT,CSA,SWA,
SUMDUMP,ALLNUC,Q=YES,GRSQ),TYPE=(XMEME),
BUFFERS=00000060K,MAXSPACE=00000500M,
MSGTIME=99999MINUTES
NOTE: This information can also be obtained from SYSVIEW using command DUMPOPTS:
Name Mode Type Data Options
SYSUDUMP ADD CURR SDATA LSQA,SWA,TRT,CB,ENQ,DM,IO,ERR,PCDATA,SUM
. . . PDATA SA,REGS,LPA,JPA,PSW,SPLS,SUBTASKS
. . INIT SDATA LSQA,SWA,TRT,CB,ENQ,DM,IO,ERR,PCDATA,SUM
. . . PDATA SA,REGS,LPA,JPA,PSW,SPLS,SUBTASKS
SYSABEND ADD CURR SDATA NUC,SQA,LSQA,SWA,TRT,CB,ENQ,DM,IO,ERR,PCDATA,SUM
. . . PDATA SA,REGS,LPA,JPA,PSW,SPLS,SUBTASKS
. . INIT SDATA NUC,SQA,LSQA,SWA,TRT,CB,ENQ,DM,IO,ERR,PCDATA,SUM,ALL
. . . PDATA SA,REGS,LPA,JPA,PSW,SPLS,SUBTASKS
SYSMDUMP ADD CURR SDATA NUC,SQA,LSQA,SWA,TRT,RGN,LPA,CSA,SUM,ALLNUC,GRSQ
. . INIT SDATA NUC,SQA,LSQA,SWA,TRT,RGN,LPA,CSA,SUM,ALLNUC,GRSQ
SDUMP ADD CURR SDATA ALLPSA,PSA,NUC,SQA,LSQA,RGN,LPA,TRT,CSA,SWA,SUM,ALLN
SYSVIEW ADD CURR SDATA ALLPSA,SQA,LSQA,RGN,LPA,TRT,CSA,SWA,SUM,ALLNUC
Use a DISPLAY DUMP operator command to get the status of all defined SYS1.DUMPxx data sets on direct access.
DISPLAY DUMP,STATUS (or D D,S)
IEE852I 13.11.13 SYS1.DUMP STATUS 423
SYS1.DUMP DATA SETS AVAILABLE=006 AND FULL=000
CAPTURED DUMPS=0000, SPACE USED=00000000M, SPACE FREE=00000500M
AUTOMATIC ALLOCATION IS: INACTIVE
NO SMS CLASSES DEFINED
NO DASD VOLUMES DEFINED
NAME=SYS1.DUMP.D&YYMMDD..T&HHMMSS..&SYSNAME..S&SEQ.
EXAMPLE=SYS1.DUMP.D991013.T171113.XAE1.S00000
SYS1.DUMP AVAILABLE DASD DATA SETS : 10-15
Use the CHNGDUMP command to change the mode and system dump options list for any dump type, or to request structures to be dumped when one or more systems connected to a coupling facility fail. The dump types are SDUMP SYSABEND, SYSUDUMP, and SYSMDUMP. If you issue multiple CHNGDUMP commands, the changes to the system are cumulative. There are three main functions provided:
An example:
CHNGDUMP SET,SYSUDUMP,SDATA=SQA (or CD SET,SYSUDUMP,SDATA=SQA)
IEE712I CHNGDUMP PROCESSING COMPLETE
D D,O
IEE857I 13.29.06 DUMP OPTION 777
SYSUDUMP- ADD OPTIONS SDATA=(SQA,LSQA,SWA,TRT,CB,ENQ,DM,IO,ERR,
PCDATA,SUM), PDATA=(SA,REGS,LPA,JPA,PSW,SPLS,
SUBTASKS)
CD DEL,SYSUDUMP,SDATA=SQA
IEE712I CHNGDUMP PROCESSING COMPLETE
CD RESET,SYSUDUMP
IEE712I CHNGDUMP PROCESSING COMPLETE
The DUMP command requests a system dump (SVC dump) of virtual storage.
The SVC dump is in a direct access data set. The data set may be either pre-allocated dump data set named SYS1.DUMPxx, or an automatically allocated dump data set named according to an installation-specified pattern. A system will only write one dump at a time.
An example:
DUMP COMM=(1-100 characters of title text)
(response) *xx IEE094D SPECIFY OPERAND(S) FOR DUMP COMMAND
R xx,JOBNAME=jobname,SDATA=(ALLNUC,CSA,LPA,NUC,PSA,RGN,SQA,SUM,SWA,TRT),END
(response) *IEA911E COMPLETE DUMP ON SYS1.DUMP00
Above, SDATA specifies the specific storage areas you want to dump.
Valid options are:
If you do not specify SDATA or you specify SDATA without any option the system uses the following SDUMPX macro options:
ALLPSA, SQ, SUM, and IO
You can also dump specific ranges of virtual storage as well using "begin,end" values in 4-byte hexadecimal numbers like:
R xx,JOBNAME=mufjob,STOR=(010CD450,010FF400,0000012K,0000060K)
SYSMDUMP can be specified in your JCL to catch any system abend from that region:
//SYSMDUMP DD DSN=XXXX.IPCS.DUMP,
// STORCLAS=IPCSDUMP,
// DISP=(NEW,CATLG,KEEP),
// SPACE=(CYL,(75,150),RLSE)
The above information was obtained from the following IBM manuals: