JCL Standards

Example DD Statement


//AB1005A  EXEC  GO,MEMBER=AB1005A,VER=PROD,TBLVER=PROD
//DMYFILE  DD    DSN=ABC01.XYZ.PROD.DMYFILE,
//         UNIT=DISK,
//         DISP=(NEW,CATLG),
//         SPACE=(TRK,(100,50),RLSE),
//         DCB=(RECFM=FB,LRECL=80,BLKSIZE=6160),
//         LABEL=EXPDT=99365

This is an example of a new file being saved on disk. If this file were being created from an Easytrieve Plus program, the DCB information is generally contained in the program and is not needed here.

The following is an example of creating a new generation data group on tape:


//AB1005A  EXEC  GO,MEMBER=AB1005A,VER=PROD,TBLVER=PROD
//DMYFILE  DD    DSN=ABC01.XYZ.PROD.DMYFILE(+1),
//         UNIT=TAPE,
//         DISP=(NEW,CATLG),
//         DCB=(ABC01.XYZ.PROD.DMYFILE.MODEL)

To create a new generation data group (GDG), use the GDG option on the SPX Maintenance Menu.


Last Modified: