09.07.2015 Views

z/OS V1R6.0 DFSMS Access Method Services for Catalogs

z/OS V1R6.0 DFSMS Access Method Services for Catalogs

z/OS V1R6.0 DFSMS Access Method Services for Catalogs

SHOW MORE
SHOW LESS

Create successful ePaper yourself

Turn your PDF publications into a flip-book with our unique Google optimized e-Paper software.

EXPORTvvvOUTFILE points to the RECEIVE DD statement. This statement describes theportable data set, BACKUP.USERDS1.CIMODE, that is to receive a copy of theESDS cluster.TEMPORARY specifies that the cluster is not to be deleted. The entry of the dataset in the catalog is marked “temporary” to indicate that another copy of thisdata set exists and that the original copy can be replaced.CIMODE specifies that control interval processing is to be used to process thedata one control interval at a time instead of one record at a time.Export Multiple Data Sets Using Multiple INFILE Parameters:Example 5In this example, multiple VSAM data sets are exported in the same step usingmultiple INFILE parameters.//EXPORT JOB ...//STEP1 EXEC PGM=IDCAMS//SYSPRINT DD SYSOUT=A//INDS1 DD DSNAME=MTD.CLUSTER1,DISP=OLD//INDS2 DD DSNAME=MTD.CLUSTER2,DISP=OLD//INDS3 DD DSNAME=MTD.CLUSTER3,DISP=OLD//INDS4 DD DSNAME=MTD.CLUSTER4,DISP=OLD//PORTDS1 DD DSNAME=CLUSBAC1,UNIT=3380,VOL=SER=338001,DISP=(NEW,KEEP),// SPACE=(TRK,(10,2)),DCB=(RECFM=F,LRECL=4101,BLKSIZE=4401)//PORTDS2 DD DSNAME=CLUSBAC2,UNIT=3380,VOL=SER=338001,DISP=(NEW,KEEP),// SPACE=(TRK,(10,2)),DCB=(RECFM=F,LRECL=4101,BLKSIZE=4401)//PORTDS3 DD DSNAME=CLUSBAC3,UNIT=3380,VOL=SER=338001,DISP=(NEW,KEEP),// SPACE=(TRK,(10,2)),DCB=(RECFM=F,LRECL=4101,BLKSIZE=4401)//PORTDS4 DD DSNAME=CLUSBAC4,UNIT=3380,VOL=SER=338001,DISP=(NEW,KEEP),// SPACE=(TRK,(10,2)),DCB=(RECFM=F,LRECL=4101,BLKSIZE=4401)//SYSIN DD *EXPORT -MTD.CLUSTER1 -INFILE(INDS1) -OUTFILE(PORTDS1)EXPORT -MTD.CLUSTER2 -INFILE(INDS2) -OUTFILE(PORTDS2)EXPORT -MTD.CLUSTER3 -INFILE(INDS3) -OUTFILE(PORTDS3)EXPORT -MTD.CLUSTER4 -INFILE(INDS4) -OUTFILE(PORTDS4)/*Job control language statements:vvINDS1 through INDS4 allocate the data sets to be exported.PORTDS1 through PORTDS4 describe the portable files that are to contain acopy of the exported data sets.The parameters of the EXPORT command are:v MTD.CLUSTER1 through MTD.CLUSTER4 specify the data sets to be exported.vvINFILE points to the INDS1 through INDS4 statements.OUTFILE points to the PORTDS1 through PORTDS4 statements. Thesestatements describe the portable data sets, CLUSBAC1 through CLUSBAC4, thatare to receive a copy of data sets INDS1 through INDS4.256 z/<strong>OS</strong> <strong>V1R6.0</strong> <strong>DFSMS</strong> <strong>Access</strong> <strong>Method</strong> <strong>Services</strong> <strong>for</strong> <strong>Catalogs</strong>

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!