Is there an example of CA FAVER using EXPORT for multiple clusters and a pattern mask?

Document ID : KB000045542
Last Modified Date : 14/02/2018
Show Technical Document Details

Question:

Can I have an example of how to EXPORT multiple clusters in a pattern mask or just how to EXPORT multiple clusters?

Answer:

Although examples exist in the CA FAVER User Guide here are some examples to assist you in getting started.

First, some JCL. This sample contains a sample you can use for VTAPE or dasd to dasd. Comment out the ones you wish since this is a sample.

//$$$$$$@ EXEC PGM=GVEXPORT,REGION=0M                                 
//SYSPRINT  DD SYSOUT=*                                               
//SYSUDUMP  DD SYSOUT=*                                               
//********************************************************************
//*          THIS IS THE STANDARD DISK FILE OUTPUT                                              *
//********************************************************************
//*FVROUT0   DD DSN=PUBLIC.EXPT.FAVER45,                     --> use your names                           
//*             UNIT=3390,SPACE=(CYL,(15,15),RLSE),                   
//*             VOL=SER=vvvvvv,                              ---> update volser if required                              
//*             RECFM=VB,LRECL=504,DSORG=PS,                          
//*             DISP=(NEW,CATLG,DELETE)                               
//********************************************************************
//*      DEFAULT VTAPE OUTPUT DEFINITION                                                           *
//********************************************************************
//FVROUT0   DD DSN=PUBLIC.EXPT.FAVER45,                              --> use your names                  
//             DISP=(NEW,CATLG,DELETE),UNIT=VTAPE,                    
//             LABEL=(,SL,EXPDT=99000)                                
//********************************************************************
//*    PLACE ALL FAVER PARM STATEMENTS HERE                                                    *
//********************************************************************
//SYSIN      DD *                                                     

EXPORT a single cluster 

//SYSIN     DD *   
EXPORT             
CLUSTER            
CL=PUBLIC.$RBTEST3

EXPORT A SET OF FILES WITH AIXES

//SYSIN      DD * 
EXPORT             
 CLUSTER          
 CL=PUBLIC.$JBTEST+
 CL=PUBLIC.AIX+     

EXPORT a pattern mask and a set of clusters

//SYSIN      DD *    
EXPORT               
 CLUSTER             
 CL=PUBLIC.AI+       
 CL=PUBLIC.$RBTES1Z  
 CL=PUBLIC.$RBTES2Z  
 CL=PUBLIC.$RBTES3Z  

Additional Information:

Please review the CA FAVER User Guide for details on options and more information on the pattern mask feature.