Defining compilation options from a load module - IBM Enterprise COBOL

How to determine the compilation options used to compile the IBM Enterprise COBOL program by viewing the download 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                                                     

therefore, I suggest that they should be removed somewhere in the boot module.

I want to scan the download library, checking that each download has been compiled with certain options to ensure compliance with the store standard (e.g. SSRANGE).

Any ideas would be appreciated.

Update

Since then I have written a LE Cobol boot module scan program that does this job and a little more. If you are interested to know: http://www3.sympatico.ca/bredam/LoadInfo.html

+3
3

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

- ...

+3
+1

Mainframe quick guides and compiler options at http://techpalli.blogspot.com/p/mainframes.html

0
source

Source: https://habr.com/ru/post/1790052/


All Articles