Previous Topic: Export with STGROUPNext Topic: Exporting Selected Clusters from SMS Storage Groups


Export from Multiple SMS Storage Groups

In the following job, all VSAM clusters in three SMS storage groups named TSOPROD, MFGPROD, and MKTPROD are exported to a single backup tape.

Note: A separate EXPORT group is required for each STGROUP method.

//EXPORT   JOB  ,FAVER EXPORT  JOB
//EXPORT   EXEC  PGM=GVEXPORT
//FVRCAT   DD DSN=VSAM.PRODCAT,DISP=SHR
//FVROUT0  DD DSN=FAVER.BK1.FILE,
//         DD DISP=(NEW,CATLG),UNIT=3490
//SYSPRINT DD SYSOUT=A
//SYSUDUMP DD SYSOUT=A
//SYSIN    DD *
EXPORT
STGROUP=TSOPROD
EXPORT
STGROUP=MFGPROD
EXPORT
STGROUP=MKTPROD