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


Examples of the LRECL parameter

z/OS MVS JCL Reference
SA23-1385-00

Example 1
//DD1B    DD  DSNAME=EVER,DISP=(NEW,KEEP),UNIT=3380,
//          RECFM=FB,LRECL=326,SPACE=(23472,(200,40))

In the example, the logical record length of 326 is used for the new data set EVER.

Example 2
//SMSDS2  DD  DSNAME=MYDS2.PGM,DATACLAS=DCLAS02,DISP=(NEW,KEEP),
//          LRECL=256

In the example, the logical record length of 256 overrides the logical record length defined in the data class for the data set.

Go to the previous page Go to the next page




Copyright IBM Corporation 1990, 2014