Non-SMPE Assembly & Link JCL for customized table CAZ2JOEL
book
Article ID: 188692
calendar_today
Updated On:
Products
JCLCheck Workload AutomationUNICENTER JCLCHECK COMMON COMPONENT
Issue/Introduction
How to code JCL to assemble and link the customized CA JCLCheck table CAZ2JOEL in the CAZ2SRC library?
Environment
Release : 12.0
Component : CA JCLCheck workload Automation
Resolution
CA JCLCheck provides usermod MZ2C049 in the CAZ2CJCL library to update table CAZ2JOEL. This is an SMP/E job and is the recommended method of use.
The following job invokes procedures CAZ2ASM and CAZ2LNK from the CAZ2PROC library to assemble and link csect CAZ2JOEL. Use this job only when necessary as changes to JCLCheck modules are not tracked if SMP/E is bypassed.
// JOB statement //* ASSEMBLE AND LINK CAZ2JOEL from CAZ2SRC //* // JCLLIB ORDER=CAI.JCLCHECK.CAZ2PROC //* //ASM1 EXEC CAZ2ASM,M='CAZ2JOEL', // OPTLIB='CAI.JCLCHECK.CAZ2SRC', // CAIMAC='CAI.JCLCHECK.CAZ2MAC' //ASM1.SYSLIB DD // DD DISP=SHR,DSN=CAI.CCS.R150S1.CAW0MAC //* //LINK1 EXEC CAZ2LNK,CAILOAD='CAI.JCLCHECK.CAZ2LOAD' //LINK1.SYSLIN DD DSN=&&LOADSET,DISP=(OLD,PASS) //LINK1.SYSIN DD * INCLUDE CAILOAD(CAZ2CJCL) ORDER CAZ2CCHK ENTRY CAZ2CCHK ALIAS CAZ2CONL,CAZ2XSAL,CAZ2XONL,CAZ2XAUP,CAZ2XSAS,CAZ2HECK ALIAS CAZ2XSAF,CAZ2XSAD,CAZ2XSAU,CAZ2XSAV,CAZ2XSAB,XDESTJES NAME CAZ2CJCL(R) /* //LINK2 EXEC CAZ2LNK,CAILOAD='CAI.JCLCHECK.CAZ2LOAD' //LINK1.SYSIN DD * INCLUDE CAILOAD(CAZ2JOEL) ENTRY CAZ2JOEL NAME CAZ2JOEL(R) /*
Notes: 1. CAW0MAC is the CA Common Services maclib and is required for JCLCheck modules assembly. 2. Replace variables OPTLIB, CAIMAC, and CAILOAD with your JCLCheck libraries.