The CLI2CTB module is contained in <dbcpfx>.SAMPLIB.
Submit the following JCL to compile the program. Review and modify the JCL to comply with conventions and standards at your installation.
//jobname JOB (acct-info),MSGCLASS=A,MSGLEVEL=(1,1) // CLASS=A //COBOL EXEC COBUCL,REGION=1012K, // PARM.COB=(LOA,SUP,VS,DMAP,CLIST,LIB, // APOST,’SIZE=512K,BUF=128K’) //COB.SYSLIB DD DSN=<dbcpfx>.SAMPLIB,DISP=SHR //COB.SYSIN DD DSN=<dbcpfx>.SAMPLIB(CLI2CTB),DISP=SHR //LKED.SYSLMOD DD DSN=<user.linklib>,DISP=SHR //LKED.SYSLIB DD DSN=<user.linklib>,DISP=SHR //LKED.SYSIN DD * // INCLUDE SYSLIB(DBCHSTBB) // NAME CLI2CTB(R) /* //*
This job stream is based on the cataloged procedures listed in Cataloged Procedures Used in Sample Jobs. If necessary, modify the job stream to make it compatible with the underlying procedure used at your installation. The source listing for CLI2CTB is in Sample Subroutine (CLI2CTB) Listing.