开发者

Determine compile options from load module - IBM Enterprise COBOL

开发者 https://www.devze.com 2023-02-08 09:27 出处:网络
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:

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.

Update

I have since written an LE Cobol load module scanning program which does this job and a bit more besides. If you are interested check out: http://www3.sympatico.ca/bredam/LoadInfo.html


Perhaps this is a start. From the CBT Tape:

//*                                                                 *   FILE 551
//***FILE 552 is from Marc Manuel, and contains a COBOL 2 and       *   FILE 552
//*           COBOL/MVS analysis program.  This program will list   *   FILE 552
//*           the compile options of COBOL load modules.            *   FILE 552
//*                                                                 *   FILE 552
//*           email:  "MANUMAN" <manuman@club-internet.fr>          *   FILE 552  

Something in there may be useful ...


Roland Schiradin's COBANAL is free, or there's the commercial product Edge Portfolio Analyzer


There is quick mainframes tutorials and compiler options at link http://techpalli.blogspot.com/p/mainframes.html

0

精彩评论

暂无评论...
验证码 换一张
取 消