The IPCS SADMP dump data set utility performs the same functions as the AMDSADDD REXX utility. See SADMP option on the IPCS Dialog in z/OS MVS IPCS User's Guide for more information. See z/OS MVS IPCS Customization for more information on the migration tasks involving AMDSADDD.
All stand-alone dump data sets that are SMS managed must have a STORCLAS with the GUARANTEED_SPACE attribute.
You provide the volume, dump data set name, unit, space, and catalog disposition on the invocation of the AMDSADDD REXX utility. If multiple volumes are specified, then a multi-volume data set is allocated and formatted. Up to 16 volumes can be specified, all having the same device type. The amount of space specified for the data set is allocated on each volume.
Special control information is written to multi-volume data sets to allow all of the volumes to be located when the data set is written to. This includes the device number of the volume. The data set is not usable by stand-alone dump if the control information is missing or invalid. If a volume of a multi-volume data set is moved to a new device number, the data set must be re-initialized to update the control information. The data set cannot be used by a system that has the volumes attached at a device number different than the system which writes the control information.
When using multi-volume data sets, it is highly recommended that they be cataloged. This simplifies processing, as IPCS can easily be used to format and copy the dump data in the cataloged data sets.
AMDSADDD {DEFINE|CLEAR|REALLOC}
volser{(data set name)}
(type[,[STORCLAS][,[DATACLAS][,[MGMTCLAS]]]]) [space]
[YES|NO] [EXTREQ|LARGE|BASIC] {EATTR(OPT|NO)}
or
AMDSADDD {DEFINE|CLEAR|REALLOC}
(volumelist){(data set name)}
(type[,[STORCLAS][,[DATACLAS][,[MGMTCLAS]]]]) [space]
[YES|NO] [EXTREQ|LARGE|BASIC] {EATTR(OPT|NO)}
Tip: When you take a stand-alone dump to a multi-volume data set it will be striped and take significantly less time to capture.
For additional information on these classes, see z/OS MVS JCL Reference.
The size of your dump output depends on your storage configuration and how much of that storage you choose to dump using the options of stand-alone dump. To estimate how much space, in cylinders, to allocate for your dump data set, use the number of cylinders of DASD that a typical dump to tape consumes when it has been copied to DASD for IPCS processing. If you do not allocate enough space, the stand-alone dump program prompts the operator, through message AMD001A and message AMD002A (if DDSPROMPT=YES was specified on the AMDSADMP macro), to specify a different device and/or a different dump data set so that dumping can continue.
The space option is not required with the CLEAR parameter. The space option is, however, required with the DEFINE and REALLOC parameters.
The catalog option is not required with the CLEAR parameter. The catalog option is, however, required with the DEFINE and REALLOC parameters.
EXTREQ requests an extended format dump data set. This data set must have the attribute DSNTYPE=EXTREQ. This attribute allows the system to place the data set in cylinder-managed space on extended access volumes.
LARGE requests a large format dump data set, one with attribute DSNTYPE=LARGE that the system allows to span more than 64K tracks per volume.
BASIC indicates that a large format dump data set is not desired. BASIC can be associated with a conventional dump data set or an extended sequential dump data set, depending on other options. BASIC is the default.
The dsntype option is not required with CLEAR parameter. The dsntype is optional with DEFINE and REALLOC parameters. The dsntype option with REALLOC must match with the existing dsntype option.
OPT requests that extended attributes are optional. The system might store the dump data set in the cylinder-managed space on extended access volumes.
NO request that extended attributes are not required. The default value is NO.
Figure 1 shows an example of using the AMDSADDD REXX utility to allocate and initialize the dump data set with a size of 350 cylinders and a VOL=SER= of SAMPLE. Because no data set name is specified, AMDSADDD allocates the dump data set SYS1.SADMP on the volume SAMPLE.
------------------------- TSO COMMAND PROCESSOR -------------------
ENTER TSO COMMAND, CLIST, OR REXX EXEC BELOW:
===> exec 'sys1.sblscli0(amdsaddd)'
What function do you want?
Please enter DEFINE if you want to allocate a new dump dataset
Please enter CLEAR if you want to clear an existing dump dataset
Please enter REALLOC if you want to reallocate and clear an existing
dump dataset
Please enter QUIT if you want to leave this procedure
define
Please enter VOLSER or VOLSER(dump_dataset_name)
sample
Please enter the device type for the dump dataset
Device type choices are 3380 or 3390 or 9345
3380
(An SMS STORAGE CLASS, DATA CLASS, AND MANAGEMENT CLASS
MAY ALSO BE SPECIFIED WITH THE DEVICE TYPE)
(3380,STRCLAS,DATCLAS,MGTCLAS)
Please enter the number of cylinders
350
Do you want the dump dataset to be cataloged?
Please respond Y or N
y
Specify the DSNTYPE. Reply BASIC or LARGE
BASIC
IKJ56650I TIME-11:00:00 PM. CPU-00:00:00 SERVICE-20191 SESSION-00:09:55 JUNE
14,1994
Initializing output dump dataset with a null record:
Dump dataset has been successfully initialized
Results of the DEFINE request:
Dump Dataset Name : SYS1.SADMP
Volume : SAMPLE
Device Type : 3380
Allocated Amount : 350
Figure 2 shows an example of using the AMDSADDD utility to allocate and initialize an extended format dump data set ‘SADMP.SAMPLE’ with a size of 400 cylinders in the cylinder-managed space. This SMS managed dump data set spans multiple volumes SADPK1 and SADPK2. In an extended address volume environment, some systems might round up the cylinders causing the requested amount and allocated amount to be different. In this case, a message is displayed that indicates the requested amount of cylinders and the allocated amount of cylinders.
------------------------- TSO COMMAND PROCESSOR -------------------
ENTER TSO COMMAND, CLIST, OR REXX EXEC BELOW:
===> exec 'sys1.sblscli0(amdsaddd)'
What function do you want?
Please enter DEFINE if you want to allocate a new dump dataset
Please enter CLEAR if you want to clear an existing dump dataset
Please enter REALLOC if you want to reallocate and clear an existing
dump dataset
Please enter QUIT if you want to leave this procedure
define
Please enter VOLSER or VOLSER(dump_dataset_name) or (VOLLIST)
or (VOLLIST)(dump_dataset_name)
(SADPK1,SADPK2)(SADMP.SAMPLE)
Please enter the device type for the dump dataset
Device type choices are 3380 or 3390 or 9345
(An SMS STORAGE CLASS, DATA CLASS, AND MANAGEMENT CLASS
MAY ALSO BE SPECIFIED WITH THE DEVICE TYPE)
(3390,STORCLAS,DATACLAS,MGMTCLAS)
Please enter the number of cylinders (per volume)
400
Do you want the dump dataset to be cataloged?
Please respond Y or N
y
Specify the DSNTYPE. Reply BASIC or LARGE or EXTREQ
EXTREQ
Specify the extended attributes for the dump dataset. Reply OPT or NO
OPT
TIME-11:54:59 PM. CPU-00:00:00 SERVICE-58954 SESSION-00:07:25 AUGUST 1,2009
Note: Allocated space does not match requested amount
Amount allocated: 420
Amount requested: 400
Initializing output dump dataset with a null record:
Dump dataset has been successfully initialized
Results of the DEFINE request:
Dump Dataset Name : SADMP.SAMPLE
Volume : SADPK1
SADPK2
Device Type : 3390
Allocated Amount : 420 (per volume)
Figure 3 shows an example of using the AMDSADDD REXX utility to clear (reinitialize) an existing dump data set called SADMP.DDS1 on VOL=SER=SAMPLE. In this example, the parameters are part of the invocation of the utility; therefore, AMDSADDD does not prompt for values.
------------------------- TSO COMMAND PROCESSOR ---------------------
ENTER TSO COMMAND, CLIST, OR REXX EXEC BELOW:
===> exec exec 'sys1.sblscli0(amdsaddd)' 'clear sample(sadmp.dds1) 3380'
IKJ56650I TIME-11:00:00 PM. CPU-00:00:00 SERVICE-20191 SESSION-00:09:55 JUNE
14,1994
Initializing output dump dataset with a null record:
Dump dataset has been successfully initialized
Results of the CLEAR request:
Dump Dataset Name : SADMP.DDS1
Volume : SAMPLE
Device Type : 3380
Allocated Amount : 350
***
Figure 4 shows an example of using the AMDSADDD REXX utility to allocate a new dump data set called SYSTEM1.SADMPDDS on VOL=SER=SMS001. In this example, the parameters are part of the invocation of the utility; therefore, AMDSADDD does not prompt for values.
-----------------------TSO COMMAND PROCESSOR------------------------
===>exec exec 'sys1.sblscli0(amdsaddd)' ‘Define SMS001(SYSTEM1.SADMPDDS) 3390 100 Y LARGE’
IKJ56650I TIME-11:00:00 PM. CPU-00:00:00 SERVICE-20191 SESSION-00:09:55
JUNE 14,1994
Error: output dump dataset not allocated on specified volume SMS001
Try using a Storage Class with Guaranteed Space
***
---------------------------------------------------------------------