CA JCLCheck OPC/ESA interface: Changes to COBOL program CAZ1OPC1

book

Article ID: 130269

calendar_today

Updated On:

Products

CA JCLCheck Workload Automation

Issue/Introduction

The CA 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.

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).

Environment

CA JCLCheck release 12.0
IBM Tivoli Workload Scheduler 

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) 
....  
....                                                                                          

      

Attachments

1558537159530CAZ1OPC1.txt get_app