× The internal search function is temporarily non-functional. The current search engine is no longer viable and we are researching alternatives.
As a stop gap measure, we are using Google's custom search engine service.
If you know of an easy to use, open source, search engine ... please contact support@midrange.com.



You don't use any type of continuation marker...
It's simply
0344.00          IF %Scan (Dsdest : 'BCM') > 0 and Metro = 'N'
0345.00                or dsdest = 'Z';         
 


Thanks,
Tommy Holden


-----Original Message-----
From: rpg400-l-bounces@xxxxxxxxxxxx
[mailto:rpg400-l-bounces@xxxxxxxxxxxx] On Behalf Of Turnidge, Dave
Sent: Wednesday, September 13, 2006 1:06 PM
To: RPG programming on the AS400 / iSeries
Subject: RPG Free - The end of the expression is expected

Not a question I really WANT to ask...but, I want a two line IF
statement. I'm ok if I can get it all on one line, but when I split it
there's no go.

I have tried ending with a '+', and with blank, and with '...'. Nuttin'
works.

Here's the line I'm trying to work with:

0344.00          IF %Scan (Dsdest : 'BCM') > 0 and Metro = 'N'...
0345.00                or dsdest = 'Z';                          

This, showing my last attempt, with the ellipse...

Please be gentle... :-(

Dave


As an Amazon Associate we earn from qualifying purchases.

This thread ...

Replies:

Follow On AppleNews
Return to Archive home page | Return to MIDRANGE.COM home page

This mailing list archive is Copyright 1997-2024 by midrange.com and David Gibbs as a compilation work. Use of the archive is restricted to research of a business or technical nature. Any other uses are prohibited. Full details are available on our policy page. If you have questions about this, please contact [javascript protected email address].

Operating expenses for this site are earned using the Amazon Associate program and Google Adsense.