确定加载模块的编译选项 - IBM Enterprise COBOL
如何通过查看加载模块来确定用于编译 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 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(3)
也许这是一个开始。
来自 CBT 磁带:
其中的内容可能有用......
Perhaps this is a start.
From the CBT Tape:
Something in there may be useful ...
Roland Schiradin 的 COBANAL 是免费的,或者有商业产品 Edge Portfolio分析器
Roland Schiradin's COBANAL is free, or there's the commercial product Edge Portfolio Analyzer
链接中有快速大型机教程和编译器选项
http://techpalli.blogspot.com/p/mainframes.html
There is quick mainframes tutorials and compiler options at link
http://techpalli.blogspot.com/p/mainframes.html