确定加载模块的编译选项 - IBM Enterprise COBOL

发布于 2024-10-15 23:06:32 字数 896 浏览 7 评论 0原文

如何通过查看加载模块来确定用于编译 IBM Enterprise COBOL 程序的编译选项?当发出转储时,它们会列出如下:

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                                                     

所以我认为它们必须隐藏在加载模块中的某个地方。

我想扫描加载库,检查每个加载是否都使用一些特定选项进行编译,以确保符合车间标准(例如 SSRANGE)。

任何想法将不胜感激。

更新

我已经编写了一个 LE Cobol 加载模块扫描程序,它可以完成这项工作以及更多的工作。如果您有兴趣,请查看:http://www3.sympatico.ca/bredam/LoadInfo.html< /a>

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

如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。

评论(3

夏日浅笑〃 2024-10-22 23:06:32

也许这是一个开始。 来自 CBT 磁带:

//*                                                                 *   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" <[email protected]>          *   FILE 552  

其中的内容可能有用......

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" <[email protected]>          *   FILE 552  

Something in there may be useful ...

葵雨 2024-10-22 23:06:32

Roland Schiradin 的 COBANAL 是免费的,或者有商业产品 Edge Portfolio分析器

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

北音执念 2024-10-22 23:06:32

链接中有快速大型机教程和编译器选项
http://techpalli.blogspot.com/p/mainframes.html

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

~没有更多了~
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文