How to check whether a load module is optimized by the CA Optimizer

book

Article ID: 38570

calendar_today

Updated On:

Products

CA Optimizer/II

Issue/Introduction

Question:

We would like to know how to check whether a load module includes the CA Optimizer in our LOAD library.
How can we check it?


Answer:

You can check the module information by running a MRS report and check the CA-OPT value.
If the value is the "NONE", the module does not include the Optimizer.
But, if the value is the "OPT/OS", the module includes the CA Optimizer.


Additional Information:

Sample JCL:

//jobcard...                                                        
//********************************************************************
//**           MANAGEMENT REPORTING SYSTEM PROCEDURE                **
//********************************************************************
//CAIMRSII PROC OPTLIB='Public.Optimize.CAILIB',   * LOAD LIB
//             LPALIB='Public.Optimize.CAILPA',    * LPA LIB
//             LIBRARY='Public.User.LOADLIB',      * USER LIBRARY
//             SYSOUT='*'                          * SYSOUT CLASS
//MRS      EXEC PGM=CAOUMRS,REGION=256K
//STEPLIB  DD  DISP=SHR,DSN=&OPTLIB
//         DD  DISP=SHR,DSN=&LPALIB
//SYSLIB   DD  DISP=SHR,DSN=&LIBRARY
//SYSPRINT DD  SYSOUT=&SYSOUT
//         PEND
//STEP01  EXEC CAIMRSII



Sample report:

MODULE   MODULE-SIZE CSECT     CSECT-SIZE   PROC-SIZE   DATA-SIZE  COMPILER-ID  REL    DATE      TIME   CA-OPT REL DCXPSRBFWIELHO
TEST001       32,560 TEST001       17,328       9,780       7,548 VSR1 5740-CB1 2.4 12/20/2000 21.36.39 OPT/OS 6.1 DC............
TEST002       55,600 TEST002       24,048       8,186      15,862 VSR1 5740-CB1 2.4 08/12/2005 20.55.23 OPT/OS 7.0 DC............
TEST003       54,944 TEST003       23,388       7,446      15,942 VSR1 5740-CB1 2.4 10/06/2010 19.30.52  NONE                   

Environment

Release:
Component: OPTMMS