RESET and VARY MOUNT statement


The monitor MOUNT VARYUNIT= statement follows the MONITOR TYPE=VARYONLINE or RESETVOL statement and specifies an offline DASD device or a range of devices whose volume label is to be reset and optionally varied online. You can specify multiple MOUNT statements, each specifying a different device to be monitored.

The device addresses specified must:

  • Be offline DASD devices.
  • Have a volume label that indicates they were the original source volume in a successful swap, the target devices in a successful SWAPDUMP, or the target device in an unsuccessful SWAP or SWAPDUMP.

The RESET and VARY MOUNT Statement Syntax is as follows:

MOUNT


,NVOL=vvvvvv

RESET and VARY MOUNT statement operands

VARYUNIT=

uuuu

Specifies the 4-digit device address of an offline DASD device to be processed. However, trailing digits may be asterisks to indicate a range of devices.

For example,

VARYUNIT=123* processes all offline devices in the range 1230 to 123F

VARYUNIT=12** processes all offline devices in the range 1200 to 12FF

If a range is specified, FDRPAS ignores all nonexistent devices, devices that are online, and those that do not contain an FDRPAS-generated volume label, with no error message; messages are printed only for DASD volumes that FDRPAS has successfully reset. If a specific device address is given, an error message results if it is not in the proper condition to reset.

NVOL=

vvvvvv

Specifies a new volume serial to be assigned to the DASD volume. The “vvvvvv” value is from 1 to 6 characters; if it is less than 6, the assigned serial has trailing blanks. Normally this is a new serial, since the original DASD volume serial is usually still online.

NVOL= may contain an asterisk (*) in any position. For any character that is an asterisk, the corresponding character from the original volume serial of the DASD volume is preserved. For example, if the original volume serial number was “ABC123”, and NVOL=XYZ*5* is specified, the new serial is “XYZ153”. Note that if VARYUNIT= specifies a range of devices, NVOL= should specify a mask so that duplicate volume serials are not generated.

For TYPE=VARYONLINE, if the volume serial requested is already online on this system, the volume label is not modified and the request fails with a diagnostic message. If the volume serial is correct, you need to execute this function on another system where that volume is not online.

If you want to retain the original volume serial of the DASD volume, you can either specify the original serial or NVOL=******, but that original serial must not be online on this system.

Important

Neither the VTOCIX (SYS1.VTOCIX.volser) nor the VVDS (SYS1.VVDS.Vvolser) is renamed. The VTOCIX still works correctly, but the VVDS is not accessible so VSAM clusters on the volume are not usable. Any attempt to allocate new VSAM or SMS-managed data sets to the volume results in the creation of a second VVDS with the new volume serial, which may cause other problems.


 

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