Thanks for all the suggestions.

Tried changing the quotes to doubles, tried taking off the colon on the
end of the GO label (though the documentation examples use single quotes
and trailing colon), the <<S2>> to <<I2>> and other combinations; tried
creating a new paragraph and retyping everything with different variable
and labels, adding a CLEARPROMPTS at the start... still returns the
illegal IF.

I think it must be a bug as all the combinations work when copied back
into AIX.

It's just landed on my desk so I guess I'll try an upgrade to 10.3.3 and
see if that makes a difference.

By the way - OS is Linux Fedora 6

Thanks again,
Stuart Boydell 


-----Original Message-----
Hi Stuart,

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

Cheers

Andrew

-----Original Message-----
From: [email protected]
[mailto:[email protected]] 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
[email protected]
http://listserver.u2ug.org/mailman/listinfo/u2-users

 
**********************************************************************
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

Reply via email to