Previous Topic: z/OS Assemble and Link-Edit JCLNext Topic: Security Codes


z/OS Link-Edit JCL

Use the following JCL to link-edit a module in z/OS:

//LNKUXIT EXEC PGM=HEWL,
//             PARM=(XREF,MAP,LET,LIST,NCAL)
//SYSPRINT DD  SYSOUT=*
//SYSUT1   DD  DSN=&&SYSUT1,UNIT=VIO,SPACE=(1700,(600,100))
//SYSLMOD  DD  DISP=SHR,DSN=your.custom.loadlib
//CAGJLOAD DD  DISP=SHR,DSN=yourHLQ.CAGJLOAD
//CUSTLIB  DD  DISP=SHR,DSN=your.custom.lib
//SYSLIN   DD *
 binder-statements
/*

Replace the variables in the JCL as explained next:

binder-statements

Replace binder-statements with the binder input statements appropriate to the load module being created.