You need to compile and link all the COBOL sources in hlq.ENDEVOR.COBOL. The following sample compile and link job COBLNK is delivered in hlq.ENDEVOR.CNTL:
//JOBCARD //*--------------------------------------------------------------------- //PCOBLNK PROC MEMBER=, * MEMBER NAME SRC AND LOAD // LOADLIB=HLQ.ENDEVOR.LOAD, * TARGET LOAD LIBRARY // SRCDSN=HLQ.ENDEVOR.COBOL, * SOURCE DATASET // TDISK=SYSDA, * UNIT // LELKED=CEE.SCEELKED, * LE SCEELKED // STEPCOB=IGY420.SIGYCOMP, * LE COBOL COMPILER // COPYLIB=ENDEVOR.CSIQOPTN * ENDEVOR CSIQOPTN //********************************************************************** //* COMPILE THE PROGRAM //********************************************************************** //COB EXEC PGM=IGYCRCTL, // COND=(4,LT), // PARM='LIST,MAP,LIB,RENT,SOURCE,DYN' //STEPLIB DD DISP=SHR,DSN=&STEPCOB //SYSIN DD DISP=SHR,DSN=&SRCDSN(&MEMBER) //SYSLIB DD DISP=SHR,DSN=©LIB //SYSLIN DD DSN=&&SYSLIN, // DISP=(NEW,PASS), // UNIT=&TDISK, // DSORG=PS,RECFM=FB,LRECL=80,BLKSIZE=3120, // SPACE=(CYL,(5,5),RLSE) //SYSPRINT DD SYSOUT=* //SYSUDUMP DD SYSOUT=* //SYSUT1 DD SPACE=(3120,(500,100),,,ROUND),UNIT=&TDISK //SYSUT2 DD SPACE=(3120,(500,100),,,ROUND),UNIT=&TDISK //SYSUT3 DD SPACE=(3120,(500,100),,,ROUND),UNIT=&TDISK //SYSUT4 DD SPACE=(3120,(500,100),,,ROUND),UNIT=&TDISK //SYSUT5 DD SPACE=(3120,(500,100),,,ROUND),UNIT=&TDISK //SYSUT6 DD SPACE=(3120,(500,100),,,ROUND),UNIT=&TDISK //SYSUT7 DD SPACE=(3120,(500,100),,,ROUND),UNIT=&TDISK //********************************************************************** //* LINK EDIT THE COBOL PROGRAM //********************************************************************** //LNK EXEC PGM=IEWL, // COND=(4,LT), // PARM='AMODE=31,RMODE=ANY,LIST,XREF,RENT,REUS' //SYSLIN DD DSN=&&SYSLIN,DISP=(OLD,DELETE) //SYSLMOD DD DISP=SHR,DSN=&LOADLIB(&MEMBER) //SYSLIB DD DISP=SHR,DSN=&LELKED //SYSUT1 DD DSN=&&SYSUT1,UNIT=&TDISK,SPACE=(1024,(50,20)) //SYSPRINT DD SYSOUT=* // PEND //*--------------------------------------------------------------------- // EXEC PCOBLNK,MEMBER=TAUENP01 // EXEC PCOBLNK,MEMBER=TAUENP02 // EXEC PCOBLNK,MEMBER=TAUENP03 // EXEC PCOBLNK,MEMBER=TAUENP04 // EXEC PCOBLNK,MEMBER=TAUENP05 // EXEC PCOBLNK,MEMBER=TAUENP06
Before you submit this job you must perform some customizations:
If your Endevor installation is release R15 or lower, you must change the COBOL source program TAUENP06. You must uncomment the field definitions in the Working-Storage Section belonging to the 01 field level R15-FIELDS.
Submit the job and verify that all compile and link steps were successfully executed.
If the job runs successfully, the load library HLQ.ENDEVOR.LOAD should contain seven members; the member DUMMY and six members TAUENPnn (nn=01 to 06).