Hi Stuart,

Try removing the : from the end of the IF statement.

Cheers

Andrew

-----Original Message-----
From: u2-users-boun...@listserver.u2ug.org
[mailto:u2-users-boun...@listserver.u2ug.org] On Behalf Of Boydell,
Stuart
Sent: Wednesday, 16 September 2009 7:30 p.m.
To: U2 Users List
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

 
The information contained in this Internet Email message is intended
for the addressee only and may contain privileged information, but not
necessarily the official views or opinions of the New Zealand Defence Force.
If you are not the intended recipient you must not use, disclose, copy or 
distribute this message or the information in it.

If you have received this message in error, please Email or telephone
the sender immediately.
_______________________________________________
U2-Users mailing list
U2-Users@listserver.u2ug.org
http://listserver.u2ug.org/mailman/listinfo/u2-users

Reply via email to