Can you remove Optimizer from your environment without recompiling all the programs that were optimized with Optimizer?
Unfortunately once a program is Optimized, the only way to remove the Optimizer stub from the load module is to recompile the program. A Optimizer stub is appended to the load module when a program is optimized. If the Optimizer runtime is not started at IPL time and you execute an Optimized load module the program will abend because it cannot find the Optimizer runtime.
There is an utility report that you can run on the load library level to help identify which programs have been Optimized. It’s documented in the Optimizer r7.0 Users Guide.
Chapter 9
Management Reporting System (MRS)
The Management Reporting System (MRS) scans any load module library and reports on the COBOL programs contained within each member. MRS produces two reports, a detail report and a summary report, indicating the size and characteristics of each load module in a selected library. MRS reads the members of a specified library, and identifies and lists COBOL CSECTs and load modules that contain them. It also provides compilation and size information for these CSECTS, and indicates whether a CA-Optimizer product has processed them. The program also checks for and flags certain CA-Optimizer options that you selected at compile/optimize time.
The MRS JCL can be found in PDS HLQ.CAIPROC(CAIMRSII)
Below is sample MRS JCL.
//MRS EXEC PGM=CAOUMRS,REGION=256K
//STEPLIB DD DISP=SHR,DSN=OPT70.P0407.CAILPA
// DD DISP=SHR,DSN=OPT70.P0407.CAILIB
//SYSLIB DD DISP=SHR,DSN=YOUR.LOAD.LIBRARY
//SYSPRINT DD SYSOUT=*
//