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.

Important

For Large Scale Swaps, it is expected that almost all of the volumes at the installation will be included in the operation; 1,000 can be specified in one SWAPDUMP job.

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:

MOUNT VOL=SHARE1,SWAPUNIT=2**** swaps to device 220BE

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.

Example
CHANGEVOL=ABCXYZ

changes the volume serial number to ABCXYZ.

CHANGEVOL=XX&UUU

changes the volume serial to XX followed by the device address (for example, XX17CA).

Default: On a SWAP process, he volume serial of the source device is not changed, unless LABEL=SWAP is specified on the SWAP command. On a SWAPDUMP process, the volume serial of the target device is copied from the source volume, unless LABEL=SWAP is specified on the SWAPDUMP command.


Important

If LABEL=SWAP and CHANGEVOL= are both specified, then CHANGEVOL overrides the volume serial that would have been assigned by LABEL=SWAP.



 

Tip: For faster searching, add an asterisk to the end of your partial query. Example: cert*