JCLCheck OPC/ESA interface: Changes to COBOL program CAZ1OPC1
book
Article ID: 130269
calendar_today
Updated On:
Products
JCLCheck Workload Automation
Issue/Introduction
The JCLCheck OPC/ESA interface requires modification to COBOL program CAZ1OPC1 from the JCLCheck CAZ2SAMP library. This program is invoked from JCL procedure CAZ1OPCA in the JCLCheck CAZ2PROC library.
This Knowledge Base article provides an updated copy of program CAZ1OPC1 to demonstrate the following: 1. Match the site-specific OPC Report Header. 2. Support two CPUs instead of one CPU.
Environment
JCLCheck Workload Automation release 12.0 IBM Tivoli Workload Scheduler
Cause
If program CAZ1OPC1 is not modified to match the page header of the OPC Daily Plan report, the program will produce 0 record (empty output).
Resolution
Program CAZ1OPC1 is attached. This program supports the following: 1. An OPC Daily Plan report of 129 record length. 2. Report page header: GX00 TWS STANDARD 3. Two CPUs named CPU1, and CPU2.
Notes: changes in the program are denoted with comment statements: ****** begin modification codes .... ****** end modification
Sample OPC Daily Plan report page header: - - - - +- - - - 1- - - - +- - - - 2- - - - + 1GX00 TWS STANDARD 0 DAILY OPERATING PLAN (01/04/19 16.30 - 02/04/19 16.30) .... .... >>>>>>> END OF DAILY OPERATING PLAN REPORT <<<<<<< 1GX00 TWS STANDARD 0 PLAN FOR WORKSTATION CPU1 (01/04/19 16.30 - 02/04/19 16.30) .... ....