MONITOR RESET and VARYONLINE statement
This type of MONITOR statement resets the label and optionally varies online an offline DASD device that was:
- The original source volume for a volume that was successfully swapped to a new device.
- The target device of a successfully completed SWAPDUMP operation.
- The target device of an unsuccessful SWAP or SWAPDUMP (one that began but failed or was canceled before it completed).
All these offline DASD devices have a volume label that has been modified so that they cannot be varied online. This function resets the volume label so that it can again be varied online, and also modifies the volume serial so that it can be mounted. All existing data on the volume is preserved. Note that if the target device of an unsuccessful operation is reset, the data on that device may not be complete or may not be usable.
The MONITOR RESET and VARYONLINE Statement Syntax is as follows:
MONITOR | TYPE={RESETVOL|VARYONLINE} |
The MONITOR statement is followed by one or more MOUNT statements (see RESET and VARY MOUNT Statement) to identify the offline DASD devices to be processed.
Although the statement name is MONITOR, this does not initiate an FDRPAS MONITOR task and it does not participate in swaps. See VARY Examples for examples.
This function replaces the FDRPASV1 utility, which was used in earlier releases to correct the volume label but did not change the volume serial number or vary the device online. FDRPASV1 can still be used but is no longer documented.
MONITOR RESET and VARYONLINE statement operands
TYPE=
Must be specified on the MONITOR statement.
RESETVOL
Resets the volume label and changes the volume serial but does not vary the volume online. This is generally used when you plan to vary the volume online to another system.
VARYONLINE
Resets the volume label, changes the volume serial, and varies online the DASD volumes that are specified by following MOUNT statements. It is varied online only on the system where this FDRPAS job executes; on other systems you must issue a console VARY command if you need to access it.