How to use Rlse and Round Subparameter in JCL

DD statements that use the RLSE subparameter
Example 1
//EMPMAST  DD   DSNAME=MMA1.EMPLOYEE.MASTER,DISP=(,CATLG,DELETE),
//             UNIT=SYSDA,SPACE=(TRK,(400,100),RLSE)
The initial space allocation is 400 tracks of primary space and 100 tracks of secondary space. Any unused tracks are released if the job step ends normally.

Example 2
//INVMAST  DD   DSNAME=MMA1.INVENTORY.MASTER,DISP=(,CATLG,DELETE),
//             UNIT=SYSDA,VOL=SER=(MVS300,MVS301,MVS302),
//             SPACE=(CYL,(100,20),RLSE)

The initial space allocation for this multi-volume data set is 100 cylinders of primary space and 20 cylinders of secondary space. Any unused cylinders on the last volume used are released if the job step ends normally.

A DD statement that uses the ROUND subparameter
//INSMAST  DD   DSNAME=MMA1.INSURANCE.MASTER,DISP=(,CATLG,DELETE),
//             UNIT=SYSDA,SPACE=(3200,(5000,1000),,,ROUND)
Allocates the space, which is specified in terms of 3200-byte blocks, in units of whole cylinders.

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