FDRARCH RESTORE Statement
RESTORE statement
The RESTORE statement creates an Archive Control File from a backup copy created by the FDRARCH DUMP statement. If the data set to which FDRARCH is restoring is newly allocated, it does not have to be preinitialized with the FORMAT statement because the RESTORE statement includes the functions of FORMAT.
The DUMP and RESTORE statements of FDRARCH can be used to move the Archive Control File to a different device type or to change its size or blocking factor. The RESTORE statement of FDRARCH cannot be used to restore a backup of the Archive Control File that was created by FDRABR or FDRDSF; that backup can only be restored by FDRABR or FDRDSF.
RESTORE statement syntax
RESTORE | |
---|---|
B=2|n | |
,DISABLE=([DSNCK][DYNARC][ERASE][RESERVE]) | |
,DUMPDEVICE=DISK|TAPE | |
,ENABLE=([DSNCK][DYNARC][ERASE][RESERVE]) | |
,RECS=2000|nnnnnnn |
n
Specifies the number of blocks to be placed on each track, from 2 to 5. FDRARCH automatically calculates the best block size for this device type.
Default: 2 (half-track blocking) unless overridden in the FDR Global Options.
Specifies the device type that is eligible to be used as a RESTORE medium.
Accepts RESTORE data from either tape or DASD devices.
Restricts the RESTORE data to tape devices only.
Default: TAPE.
The options specified are disabled or enabled for this RESTORE operation. Multiple options are enclosed in parentheses and separated by commas. The options and their meaning if enabled are:
Validates the data set name of the Archive Control File. It requires that some index level in the name, not the first, is ARCHIVE.
Dynamically allocates the common Archive Control File named in the ARCDSN option of the FDR Global Options if the ARCHIVE DD statement is not present.
Allows an existing, formatted control file to be restored. If disabled, a restore can only be done to a newly allocated control file.
Protects the Control File with a RESERVE macro against the volume on which it resides.
Default: DSNCK and RESERVE are enabled; DYNARC and ERASE are disabled, unless overridden in the FDR Global Options.
nnnnnnn
Specifies the minimum number of data set entries that are formatted during the restore of the Archive Control File. See RECS= in FDRARCH-FORMAT-statement for details.
Default: The default is the number of records that were formatted on the dumped Archive Control File or 2000 (unless overridden in the FDR Global Options), whichever is larger.