How to Allocating a Multi-volume Data Sets in JCL

Allocating a multi-volume data set
Example 1
//CUSTMAST DD   DSNAME=MMA1.CUSTOMER.MASTER,DISP=(NEW,KEEP),
//             UNIT=SYSDA,VOL=SER=(MVS300,MVS301,MVS302),
//             SPACE=(CYL,(400,200))
Allocates a multi-volume uncataloged data set that uses DASD volumes MVS300, MVS301, and MVS302.

Example 2
//CUSTMAST DD   DSNAME=MMA1.CUSTOMER.MASTER,DISP=(NEW,CATLG),
//             UNIT=(SYSDA,3),SPACE=(CYL,(400,200))
Allocates a multi-volume cataloged data set that uses three DASD volumes chosen by the system.

0 comments:

Computers TopOfBlogs Technology Blogs Mainframe interview question and answers,mainframe jobs,cobol,vsam,jcl,cics,db2,rdbms,mvs,tso,ispf,ibm,hcl,tcs,cts,wibro Blog Directory