Previous Topic: Tape HandlingNext Topic: Reading CA FAVER Format Files


FAVER2 Restore Example

//GVRESTOR JOB (10005),'SYSTEMS',CLASS=A,
//  MSGCLASS=X,NOTIFY=&SYSUID.
//*
//RESTORE  EXEC PGM=GVRESTOR,REGION=0M
//STEPLIB  DD DISP=SHR,DSN=CAI.ISM.LINKLIB
//SYSPRINT DD SYSOUT=*
//SYSUDUMP DD SYSOUT=*
//FVRIN0   DD  UNIT=3480,VOL=SER=(102671,102750),
//         LABEL=(1,SL,EXPDT=98000),
//         DCB=TRTCH=COMP,
//         DISP=(OLD,KEEP),DSN='TEST.RODR.1'
//SYSIN     DD   *
RESTORE FAVER2
 CLUSTER
 CL=PROD.ACCT.MASTER -
 *AMS  -
    CLUSTER(NAME(PROD.ONL.ACCT.MASTER)        -
           VOLUMES()                          -
           DATACLAS(LARGE))                   -
    DATA   (NAME(PROD.ONL.ACCT.MASTER.DATA))  -
    INDEX  (NAME(PROD.ONL.ACCT.MASTER.INDEX))

In this example, the VSE and MVS systems are totally separate. The tape management system running on the MVS system is unaware of the tape volumes in use by the VSE system and will there consider them as "foreign" tapes. The VSE cluster named PROD.ACCT.MASTER is to be reloaded in the MVS environment under the name PROD.ONL.ACCT.MASTER.

On the FVRIN0 DD, the EXPDT=98000 is coded to inform the tape management system that these are "foreign" tapes. Since this tape data set spans two volumes, both volume serial numbers are listed. The TRTCH value indicates that 3480ion was used on this tape. The data set name is in quotes because it does not follow standard MVS naming conventions.

The FAVER2 parameter is shown on the RESTORE command, but you should not need it. The FAVER logic should detect the FAVER2 format tape automatically, but if you need to code it, this is where it goes.

The *AMS illustrates overrides to the definition. Typically, the disk volumes in the VSE system will be different than those in the MVS system. Unless you plan to mirror your volume naming conventions in MVS, you will most likely need to override the volume serial numbers. In this example, the user has set up the ACS routines to assign data sets beginning with PROD to SMS control. The VOLUME() parameter nullifies the volume list. SMS will do the volume selection in the MVS system. Additionally, the SMS data class of LARGE is being requested.