Why does Enterprise COBOL V4.1 optimization complain about a PERFORM loop?

2012-04-23 Thread Farley, Peter x23353
Can anyone explain to me why I get Enterprise COBOL V4.1 informational message IGYOP3094-W in the do-nothing program listed below? TIA for curing my ignorance. Peter PP 5655-S71 IBM Enterprise COBOL for z/OS 4.1.0 TESTGOTO Date 04/23/2012 Time 15 LineID PL SL

Re: Why does Enterprise COBOL V4.1 optimization complain about a PERFORM loop?

2012-04-23 Thread Bob Shannon
Can anyone explain to me why I get Enterprise COBOL V4.1 informational message IGYOP3094-W in the do-nothing program listed below? I haven't written in COBOL in over 30 years, but I suspect it's because SUB-PARA-2 sits in between SUB-PARA-1 and PARA-EXIT. 44SUB-PARA-1.

Re: Why does Enterprise COBOL V4.1 optimization complain about a PERFORM loop?

2012-04-23 Thread Gibney, Dave
@bama.ua.edu] On Behalf Of Bob Shannon Sent: Monday, April 23, 2012 12:46 PM To: IBM-MAIN@bama.ua.edu Subject: Re: Why does Enterprise COBOL V4.1 optimization complain about a PERFORM loop? Can anyone explain to me why I get Enterprise COBOL V4.1 informational message IGYOP3094-W in the do-nothing

Re: Why does Enterprise COBOL V4.1 optimization complain about a PERFORM loop?

2012-04-23 Thread Farley, Peter x23353
to change them all in this manner. Peter -Original Message- From: IBM Mainframe Discussion List [mailto:IBM-MAIN@bama.ua.edu] On Behalf Of Bob Shannon Sent: Monday, April 23, 2012 3:46 PM To: IBM-MAIN@bama.ua.edu Subject: Re: Why does Enterprise COBOL V4.1 optimization complain about

Re: Why does Enterprise COBOL V4.1 optimization complain about a PERFORM loop?

2012-04-23 Thread Arthur T.
On 23 Apr 2012 12:36:08 -0700, in bit.listserv.ibm-main (Message-ID:985915eee6984740ae93f8495c624c6c21e1d43...@jscpcwexmaa1.bsg.ad.adp.com) peter.far...@broadridge.com (Farley, Peter x23353) wrote: 33PERFORM PARA-1 THRU PARA-EXIT. 34GO TO

Re: Why does Enterprise COBOL V4.1 optimization complain about a PERFORM loop?

2012-04-23 Thread Hardee, Chuck
x23353 Sent: Monday, April 23, 2012 3:33 PM To: IBM-MAIN@bama.ua.edu Subject: Why does Enterprise COBOL V4.1 optimization complain about a PERFORM loop? Can anyone explain to me why I get Enterprise COBOL V4.1 informational message IGYOP3094-W in the do-nothing program listed below? TIA for curing

Re: Why does Enterprise COBOL V4.1 optimization complain about a PERFORM loop?

2012-04-23 Thread Farley, Peter x23353
-Original Message- From: IBM Mainframe Discussion List [mailto:IBM-MAIN@bama.ua.edu] On Behalf Of Arthur T. Sent: Monday, April 23, 2012 4:45 PM To: IBM-MAIN@bama.ua.edu Subject: Re: Why does Enterprise COBOL V4.1 optimization complain about a PERFORM loop? On 23 Apr 2012 12:36:08 -0700

Re: Why does Enterprise COBOL V4.1 optimization complain about a PERFORM loop?

2012-04-23 Thread Farley, Peter x23353
-MAIN@bama.ua.edu] On Behalf Of Gibney, Dave Sent: Monday, April 23, 2012 4:01 PM To: IBM-MAIN@bama.ua.edu Subject: Re: Why does Enterprise COBOL V4.1 optimization complain about a PERFORM loop? Dropping through into PARA-2 from PARA-1 when the return from the PERFORM PARA-2 is still set would

Re: Why does Enterprise COBOL V4.1 optimization complain about a PERFORM loop?

2012-04-23 Thread Clark Morris
On 23 Apr 2012 12:36:08 -0700, in bit.listserv.ibm-main you wrote: Can anyone explain to me why I get Enterprise COBOL V4.1 informational message IGYOP3094-W in the do-nothing program listed below? It is bad COBOL because there is a GO TO PARA-EXIT in SUB-PARA-1 which in this case means that if