SWAP and SWAPDUMP Task MOUNT statement
The SWAP & SWAPDUMP MOUNT Statement Syntax is as follows:
MOUNT | VOL=vol ,SWAPUNIT={uuuu|s****} |
,CHANGEVOL={cc&UUU|cccccc} |
SWAP MOUNT statement
The SWAP task MOUNT statement follows the SWAP TYPE=FULL statement and specifies an online volume to be swapped. One or more MOUNT statements are required, specifying the volumes to be swapped by this SWAP or SWAPDUMP job.
If MAXTASKS= is specified on the SWAP or SWAPDUMP statement, and multiple MOUNT statements are provided, those MOUNT statements are processed concurrently, up to the MAXTASKS= limit. If the number of MOUNT statements exceeds “nnn”, FDRPAS processes the first “nnn” MOUNT statements concurrently, and selects the next MOUNT statement as each SWAP/SWAPDUMP ends.
If MAXTASKS= is not specified, the MOUNT statements are processed serially, one at a time.
SWAP MOUNT statement required operands
VOL=
vol
Specifies the volume serial number of an online volume to be swapped.
SWAPUNIT=
SU=
uuuu
Specifies the z/OS device address of the target device, the new DASD unit that the source volume is swapped to. This must be specified as a 4-digit address, with a leading zero if required. This device should be offline on all systems that are involved in the SWAP and should not contain any needed data (CHECKTARGET=YES can be used to ensure that the target device is empty).
It is possible to specify an asterisk (*) for any digit of the SWAPUNIT= address. FDRPAS substitutes the corresponding digit of the z/OS address of the source volume (the volume specified by VOL=). For example, if the z/OS address of volume PROD01 is 03A4:
MOUNT VOL=PROD01,SWAPUNIT=17C* swaps to device 17C4
MOUNT VOL=PROD01,SWAPUNIT=17*2 swaps to device 17A2
MOUNT VOL=PROD01,SWAPUNIT=17** swaps to device 17A4
This feature allows you to easily swap a set of volumes on adjacent addresses (a “string” of DASD volumes) to a set of adjacent addresses in the new DASD subsystem.
s****
Specifies the z/OS device address of the 3390S (Special) target device, the new DASD unit that the source volume is swapped to. The target device is in alternate subchannel set ‘s', and the last 4 digits of its device address are the same as the source device. When 5-digit address is specified for any SWAPUNIT, all SWAPUNITs must be specified with 5-digit addresses, with a leading zero for any that are in the primary subchannel set. This device should be offline on all systems that are involved in the SWAP and should not contain any needed data (CHECKTARGET=YES can be used to ensure that the target device is empty).
For example if the z/OS address of volume SHARE1 is 20BE:
SWAP MOUNT statement optional operands
CHANGEVOL=
CV=
CHANGEVOLNUM=
On a SWAP process, controls the volume serial that FDRPAS gives to the source device when the SWAP process is complete. On a SWAPDUMP process, controls the volume serial that FDRPAS gives to the target device when the SWAPDUMP process is complete. Specify either a full 6-character volume serial, or 2 characters followed by &UUU. If &UUU is specified, it is replaced with the 4-character DASD device address.