Example of FAVER using EXPORT for multiple clusters and a pattern mask
search cancel

Example of FAVER using EXPORT for multiple clusters and a pattern mask

book

Article ID: 45542

calendar_today

Updated On:

Products

FAVER VSAM Data Protection for z/OS

Issue/Introduction

Provide an example of how to EXPORT multiple clusters in a pattern mask or how to EXPORT multiple clusters.

 

Environment

Release: 4.5

Component: FastDASD

Resolution

This is a sample for VTAPE or DASD to DASD.  

//$$$$$$@ EXEC PGM=GVEXPORT,REGION=0M                                  
//SYSPRINT  DD SYSOUT=*                                               
//SYSUDUMP  DD SYSOUT=*                                               
//********************************************************************
//*          THIS IS THE STANDARD DISK FILE OUTPUT                                              
//********************************************************************
//*FVROUT0   DD DSN=PUBLIC.EXPT.FAVER45,                     --> change data set name                           
//*             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,                     --> change data set name                  
//             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.$XXXXXXX

EXPORT A SET OF FILES WITH AIXES

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

EXPORT a pattern mask and a set of clusters

//SYSIN      DD *     
EXPORT               
 CLUSTER             
 CL=PUBLIC.AI+       
CL=PUBLIC.$XXXXXX1  
CL=PUBLIC.$XXXXXX2  
CL=PUBLIC.$XXXXXX3