Thanks Jeffrey.  I will pass that on here.

Peter

-----Original Message-----
From: IBM Mainframe Discussion List [mailto:[email protected]] On Behalf 
Of Holst, Jeffrey A
Sent: Friday, January 27, 2017 9:30 AM
To: [email protected]
Subject: Re: COBOL V5.2 question: INITCHECK option incompatible with 
OPTIMIZE(0)? (Msg IGYOS4021-W)

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

Reply via email to