×

Good News Everybody!

The new search engine is LIVE!

Please report any problems to david (at) midrange.com.




Did you see it in the DSPECS or in the actual code?

In the DSPECS it allows you to create a field name thats longer than was it
normally allowed.

For example...

D ImAVeryLongFieldName...
D             S            10




Dig in! Bob Evans New Knife & Fork Sandwiches -- This much homestyle
goodness demands a Knife & Fork!


rpg400-l-bounces@xxxxxxxxxxxx wrote on 09/13/2006 02:16:38 PM:

BOY! That's frustrating... I know I tried it that way. Must have been
something else wrong with my line at the time.

Ok, let's adjust the question just a bit... I have seen code in messages
that is followed by the ellipse. What is actually happening with that?

Thanks,

Dave

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

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

--
This is the RPG programming on the AS400 / iSeries (RPG400-L) mailing
list To post a message email: RPG400-L@xxxxxxxxxxxx To subscribe,
unsubscribe, or change list options,
visit: http://lists.midrange.com/mailman/listinfo/rpg400-l
or email: RPG400-L-request@xxxxxxxxxxxx
Before posting, please take a moment to review the archives at
http://archive.midrange.com/rpg400-l.


--
This is the RPG programming on the AS400 / iSeries (RPG400-L) mailing
list
To post a message email: RPG400-L@xxxxxxxxxxxx
To subscribe, unsubscribe, or change list options,
visit: http://lists.midrange.com/mailman/listinfo/rpg400-l
or email: RPG400-L-request@xxxxxxxxxxxx
Before posting, please take a moment to review the archives
at http://archive.midrange.com/rpg400-l.


--
This is the RPG programming on the AS400 / iSeries (RPG400-L) mailing
list
To post a message email: RPG400-L@xxxxxxxxxxxx
To subscribe, unsubscribe, or change list options,
visit: http://lists.midrange.com/mailman/listinfo/rpg400-l
or email: RPG400-L-request@xxxxxxxxxxxx
Before posting, please take a moment to review the archives
at http://archive.midrange.com/rpg400-l.



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-2026 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.