I encountered this same issue while installing COBOL V6.1. Seeing no documentation about this, I opened a PMR.
I think that part of the resolution was to document this. The explanation that I got was that while there was no technical reason for the incompatibility, the point of OPTIMIZE(0) is to obtain a fast compile at the expense of performance when the program is executed. Apparently INITCHECK causes the compiler to run much longer, defeating the purpose of OPTIMIZE(0). Thus IBM's decision to make these options incompatible. Jeffrey Holst Systems Administator Senior Technology and Operations, Shared Services Whitehall Service Center 2 (614) 856-5443 ------------------------------ Date: Thu, 26 Jan 2017 15:25:00 -0500 From: "Farley, Peter x23353" <[email protected]> Subject: COBOL V5.2 question: INITCHECK option incompatible with OPTIMIZE(0)? (Msg IGYOS4021-W) We are beginning the transition to COBOL V5.2 from V4.2 and exploring the new options available for debugging. We just discovered that the INITCHECK option is incompatible with OPTIMIZE(0). Using both options generates this warning-level message: IGYOS4021-W The "INITCHECK" option was discarded due to option conflict resolution. The "OPTIMIZE(0)" option took precedence. There is no restriction documented for INITCHECK in the V5.2 Programmer's Guide and no mention of this incompatibility in the section on incompatible compiler options either. Is this a maintenance issue? Are we missing a PTF or was there a PTF applied that introduced the restriction without updating the documentation? If the latter, a pointer to the PTF documentation would be appreciated. Peter -- This message and any attachments are intended only for the use of the addressee and may contain information that is privileged and confidential. If the reader of the message is not the intended recipient or an authorized representative of the intended recipient, you are hereby notified that any dissemination of this communication is strictly prohibited. If you have received this communication in error, please notify us immediately by e-mail and delete the message and any attachments from your system. ---------------------------------------------------------------------- For IBM-MAIN subscribe / signoff / archive access instructions, send email to [email protected] with the message: INFO IBM-MAIN *** The contents of this email are the property of PNC. If it was not addressed to you, you have no legal right to read it. If you think you received it in error, please notify the sender. Do not forward or copy without permission of the sender. This message may be considered a commercial electronic message under Canadian law or this message may contain an advertisement of a product or service and thus may constitute a commercial electronic mail message under US law. You may unsubscribe at any time from receiving commercial electronic messages from PNC at http://pages.e.pnc.com/globalunsub/ PNC, 249 Fifth Avenue, Pittsburgh, PA 15222; pnc.com ---------------------------------------------------------------------- For IBM-MAIN subscribe / signoff / archive access instructions, send email to [email protected] with the message: INFO IBM-MAIN
