How to code the CONTIG, MXIG, and ALX subparameters

Code the CONTIG, MXIG, and ALX subparameters
Example 1
//EMPMAST  DD   DSNAME=MMA1.EMPLOYEE.MASTER,DISP=(,CATLG,DELETE),
//             UNIT=SYSDA,SPACE=(CYL,(100,20),,CONTIG)
The primary allocation (100 cylinders) must be obtained from contiguous cylinders.

Example 2
//EMPMAST  DD   DSNAME=MMA1.EMPLOYEE.MASTER,DISP=(,CATLG,DELETE),
//             UNIT=SYSDA,VOL=SER=MVS300,
//             SPACE=(CYL,(100,20),RLSE,MXIG)
Obtains the largest extent available on the volume for the file’s primary allocation. It must be at least 100 cylinders.

Example 3
//EMPMAST  DD   DSNAME=MMA1.EMPLOYEE.MASTER,DISP=(,CATLG,DELETE),
//             UNIT=SYSDA,VOL=SER=MVS300,
//             SPACE=(CYL,(100,20),RLSE,ALX)
Obtains up to five extents, each of which must be at least 100 cylinders, as the file’s primary allocation.

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