JCL Standards

Example DD Statement


//AB1005A  EXEC  GO,MEMBER=AB1005A,VER=PROD,TBLVER=PROD
//XYZFILE  DD    DSN=ABC01V.XYZ.PROD.DMYFILE,DISP=SHR

In this example, XYZFILE already exists. Note that, for already existing files, DISP=SHR is specified on the same line.

If this were a tape dataset, the DD statement would look as follows:


//AB1005A  EXEC  GO,MEMBER=AB1005A,VER=PROD,TBLVER=PROD
//XYZFILE  DD    DSN=ABC01.XYZ.PROD.DMYFILE,DISP=OLD


Last Modified: