Standard DD statements



Opposite is an example of the standard JCL to invoke the Linkage Editor / Program Binder, taken from an IBM Supplied compile, link and go procedure.

The primary output data set is defined by the SYSLMOD DD statement, and indicates where the resultant executable program is to reside.

The primary input data set is defined by the SYSLIN DD statement, which in a compile and link procedure has the same DSN as that on the SYSLIN DD statement in the compile step.

Standard IBM Supplied Job Control



//L        EXEC PGM=HEWL,
//             PARM='MAP,LET,LIST,NCAL',
//             COND=(8,LT,C)
//SYSLIN   DD  DSN=&&OBJ,DISP=(OLD,DELETE)
//         DD  DDNAME=SYSIN
//SYSLMOD  DD  DISP=(,PASS),UNIT=SYSDA,
//            SPACE=(CYL,(1,1,1)),
//            DSN=&&GOSET(GO)
//SYSUT1   DD  DSN=&&SYSUT1,
//            SPACE-(1024,(120,120),,,ROUND),
//            UNIT=VIO,DCB=BUFNO=1
//SYSPRINT DD  SYSOUT=*


As will be seen when the INCLUDE statement is discussed, additional DD statements may be required.

Not included above is the optional SYSLIB DD statement which can be included to identify the library or libraries to be searched for external sub-routines, when AUTOCALL is active.

Copyright © Legac-e Education 2015-