SELREST is short for selective restore. It restores one named member. To restore more than one member, you can submit a series of control cards.
►►─ SELREST ─ memname ────────────────────────────────────────────────────────►◄
Specifies the SELREST function.
Name of the member to restore. For instructions to format the member name, see HEX Function. If this member has the same name as a member already in the VLS library, the existing member is replaced.
Use the description of the RESTORE function to find JCL for this function. As input, use the backup file created by the BACKUP or SELBKUP function. The backup file has a ddname of VLSBKUP. You must create one SELREST card for each member to restore. Arrange the cards so that member names are in ascending alphabetic order. VLSUTIL ignores any card that is out of sequence. You can submit any number of cards.
SELREST preserves the existing contents of the VLS library, but if an existing member has the same name as a member specified by SELREST, the existing member is replaced.
Using SELREST, you can place the restored files into different VLS libraries. You do not need to restore all the files to the same directory.
Example
To selectively restore the version 11 procedure (L) and working data (W) members of a program called SELRESEX in system $ID, enter:
HEX / SELREST $IDSELRESEX/40404040404040/011L SELREST $IDSELRESEX/40404040404040/011W
For more information regarding the SELREST function, see the section titled Restoring Deleted Entities in the CA Ideal Administration Guide.
|
Copyright © 2015 CA Technologies.
All rights reserved.
|
|