Download FDRMOVE FDRERASE - Innovation Data Processing
Transcript
FDRERASE VERSION V5.4 FDRERASE CON TROL STATEMEN TS 330.04 ONLINE= BYPASS – Disk devices that are online are bypassed with an explanatory message. If the bypassed disk was selected by a full 4-digit device address (not a prefix), the message causes the step to end with return code to call attention to the bypassed device. VARYOFF – Disk devices specified on each MOUNT statement that are online to this system are varied offline and erased if they are not currently allocated to any task on this system. To insure that you are varying the proper devices offline, WTOR message “FDRW01” is issued to the operator's console to confirm each device. Default: BYPASS. W ARNING : It is your responsibility to insure that the online volumes that you have specified are not online or in use on any other system. If you erase a volume in use on another system, the results are unpredictable, and data is lost. ONLINE=VARYOFF is primarily intended for use when erasing disks as you are leaving a disaster/recovery site since it relieves you of the need to manually vary all the volumes offline. NOTE: If you specify ONLINE=VARYOFF and the volumes to be varied offline contain data sets, you must also specify CHECKTARGET=NO in order to erase those volumes. If the volumes are empty, then CHECKTARGET=NO is not required. PRTDEFAULTS If specified, it lists the defaults for various operands that affect FDRERASE operation. If overriding operands are present before the PRTDEFAULTS operand, it displays those overrides. Overriding operands that follow the PRTDEFAULTS operand are not displayed. SELTERR= Specifies what happens at step termination if FDRERASE finds that one or more selected offline devices was not erased because it did not meet all the criteria, such as it was already erased (unless ALREADYERASED=PROCESS was specified) or not created by FDRPAS or empty (unless CHECKTARGET=NO was specified). NO – A condition code or ABEND is not to be issued at step termination. You might use SELTERR=NO when you expect some devices in your ERASEUNIT= list may not be eligible. YES – A condition code or ABEND is issued at step termination to call attention to the volumes that were bypassed. Default: YES unless overridden in the FDR Global Options Table (See “SELTERR” on page 25.). VARYON= AFTER – After erasing the disk, the volume is varied online and remounted. CPYVOLID=YES is forced. The volume serial of the disk must not match the serial of any other online volume (such as the FDRPAS target device if you are erasing an FDRPAS source disk); if it does match you can use the CHANGEVOL= operand of the MOUNT statement to relabel the volume. The VARY ONLINE is done after the erase is complete and the “FDR241” ERASE COMPLETE message is printed. NOAFTER – The disk is left offline after the erase. Default: NOAFTER. - 330-18 -