Try removing the colon at the end of the IF, but leave it on the label. IF <<S2,Check>> = 'BLAH' THEN GO THE.END
> Date: Wed, 16 Sep 2009 17:29:38 +1000 > From: [email protected] > To: [email protected] > Subject: [U2] [UV] Strange paragraph IF behaviour > > Hi , > Can anyone see anything wrong with the following IF statement - fails on > Linux - but works okay on AIX - I can't think of anything more to try? > > CT VOC ONE.OFF > 0001 PA > 0002 IF <<S2,Check>> = 'BLAH' THEN GO THE.END: > 0003 DISPLAY NOT BLAH > 0004 THE.END: > 0005 DISPLAY THE END > > It's producing the following results: > > >ONE.OFF > Check=BLAH > Illegal IF statement. > NOT BLAH > THE END > > >ONE.OFF > Check=jgfjhf > Illegal IF statement. > NOT BLAH > THE END > > > > UV RELLEVEL > 0001 X > 0002 10.2.0 > 0003 PICK > 0004 PICK.FORMAT > 0005 10.2.0 > > > ********************************************************************** > This email message and any files transmitted with it are confidential and > intended solely for the use of addressed recipient(s). If you have received > this communication in error, please reply to this e-mail to notify the sender > of its incorrect delivery and then delete it and your reply. It is your > responsibility to check this email and any attachments for viruses and > defects before opening or sending them on. Spotless collects information > about you to provide and market our services. For information about use, > disclosure and access, see our privacy policy at http://www.spotless.com.au > Please consider our environment before printing this email. > ********************************************************************** > > _______________________________________________ > U2-Users mailing list > [email protected] > http://listserver.u2ug.org/mailman/listinfo/u2-users _________________________________________________________________ Your E-mail and More On-the-Go. Get Windows Live Hotmail Free. http://clk.atdmt.com/GBL/go/171222985/direct/01/ _______________________________________________ U2-Users mailing list [email protected] http://listserver.u2ug.org/mailman/listinfo/u2-users
