Previous Topic: Control StatementsNext Topic: Export Clusters to Three Files


Export Clusters to One File

The following control statements export all the clusters defined in three catalogs to one file:

EXPORT CAT=TESTCAT FVROUT=BACKUP
CATALOG
EXPORT CAT=PRODCAT FVROUT=BACKUP
CATALOG
EXPORT CAT=CICSCAT FVROUT=BACKUP
CATALOG

To perform this export, you must also add this statement to the JCL:

//BACKUP DD DSN=VSAM.EXPORT,UNIT=TAPE,DISP=(NEW,KEEP)