Determine compile options from load module - IBM Enterprise COBOL
- by NealB
How can I determine the compile options used to compile an IBM Enterprise COBOL program by looking at the load module? When a dump is issued they are listed as follows:
Compile Options for PROGXX:
ADV, ARITH(COMPAT), AWO, NOCICS, CODEPAGE(01140), DATA(31), NODATEPROC,
NODBCS, NODLL, NODYNAM, NOEXPORTALL, NOFASTSRT, INTDATE(LILIAN),
NUMPROC(NOPFD), NOOPTIMIZE, OUTDD(SYSOUT), PGMNAME(COMPAT), RENT, RMODE(AN
NOSQL, SQLCCSID, SSRANGE, NOTEST, NOTHREAD, TRUNC(OPT), XMLPARSE(XMLSS),
YEARWINDOW(1900), ZWB
so I presume they must be tucked away somewhere in the load module.
I want to scan a load library checking that each load was compiled with some specific options to ensure compliance to shop standard (eg. SSRANGE).
Any ideas would be appreciated.