So, for once, the programmer was correct. It *was* a compiler problem. :-)
On Mon, Oct 13, 2008 at 4:51 PM, Greg Shirey <[EMAIL PROTECTED]> wrote: > > Sorry, hit "SEND" too soon last time. Just wanted to put this > information in the archive thread for future reference. > > APAR PK69010 (closed 8/5/08) states, in part: > > A complex IF statement containing abbreviated combined conditions with > parenthesis around the distributed subjects is incorrectly flagged with > message IGYPS2048-S. > > LOCAL FIX: > 1) Split the DATA3 = ('W' OR 'G') to this: > (DATA3 = 'W' OR DATA3 = 'G') > > Enterprise COBOL V4R1 enhanced syntax checking of parenthesized > abbreviated combined conditions and accidentally also prohibited > parenthesis around the distributed object which should remain legal. > > > > Greg Shirey > Ben E. Keith Co. > > ---------------------------------------------------------------------- > For IBM-MAIN subscribe / signoff / archive access instructions, > send email to [EMAIL PROTECTED] with the message: GET IBM-MAIN INFO > Search the archives at http://bama.ua.edu/archives/ibm-main.html > > ---------------------------------------------------------------------- For IBM-MAIN subscribe / signoff / archive access instructions, send email to [EMAIL PROTECTED] with the message: GET IBM-MAIN INFO Search the archives at http://bama.ua.edu/archives/ibm-main.html