JCL to include the appropriate interface code when using the Db2-supplied JCL procedures
To include the proper interface code when you submit the JCL procedures, use an INCLUDE SYSLIB statement in your link-edit JCL. The statement should specify the correct language interface module for the environment.
TSO, batch
//LKED.SYSIN DD *
INCLUDE SYSLIB(member)
/*member must be DSNELI or DSNULI, except for FORTRAN, in which case member must be DSNHFT.
IMS
//LKED.SYSIN DD *
INCLUDE SYSLIB(DFSLI000)
ENTRY (specification)
/*DFSLI000 is the module for DL/I batch attach.
ENTRY specification varies depending on the host language. Include one of the following:
- DLITCBL, for COBOL applications
- PLICALLA, for PL/I applications
- The program name, for assembler language applications.
Recommendation: For
COBOL applications, specify the PSB linkage directly on the PROCEDURE
DIVISION statement instead of on a DLITCBL entry point. When you specify
the PSB linkage directly on the PROCEDURE DIVISION statement, you
can either omit the ENTRY specification or specify the application
program name instead of the DLITCBL entry point.
CICS®
//LKED.SYSIN DD *
INCLUDE SYSLIB(member)
/*member must be DSNCLI or DSNULI.