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


Effect of DCB=dsname parameter

z/OS MVS JCL Reference
SA23-1385-00

If the DCB parameter refers to a cataloged data set, the system obtains the volume sequence number from the label of the data set, unless the volume sequence number is coded on the DD statement.

Thus, for the following DD statement, even though DISP=MOD is specified, the system positions the read/write mechanism after the last record on the volume specified in the volume sequence number in the label; this volume may or may not be the last volume.
   //DD1   DD   DSNAME=MULTI1,DISP=MOD,DCB=CATDD
To control which volume is processed, code a volume sequence number.
   //DD2   DD   DSNAME=MULTI2,DISP=MOD,DCB=CATDD,VOLUME=(,,2)

Go to the previous page Go to the next page




Copyright IBM Corporation 1990, 2014