z/OS MVS JCL Reference
Previous topic | Next topic | Contents | Contact z/OS | Library | PDF


Examples of the PROTECT parameter

z/OS MVS JCL Reference
SA23-1385-00

Example 1
//DASD  DD  DSNAME=USER37.MYDATA,DISP=(,CATLG),
//     VOLUME=SER=333000,UNIT=3390,SPACE=(TRK,2),PROTECT=YES

This DD statement requests RACF® protection for the new direct access data set USER37.MYDATA.

Example 2
//TAPEVOL  DD  DSNAME=MHB1.TAPEDS,DISP=(NEW,KEEP),LABEL=(,NL),
//          VOLUME=SER=T49850,UNIT=3390,PROTECT=YES

This DD statement requests RACF protection for tape volume T49850. Because a specific tape volume is requested, it automatically has the PRIVATE attribute. The volume has no labels.

Example 3
//TAPEDS  DD  DSNAME=INST7.NEWDS,DISP=(NEW,CATLG),LABEL=(2,SUL),
//         VOLUME=SER=223344,UNIT=3390,PROTECT=YES

This DD statement requests RACF protection for INST7.NEWDS, which is the second data set on tape volume 223344. Because a specific tape volume is requested, it automatically has the PRIVATE attribute. The volume has IBM® standard and user labels; the RACF TAPEDSN option must be active.

Go to the previous page Go to the next page




Copyright IBM Corporation 1990, 2014