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



Hi Yivi,

It is not used at compile time but it is used at run time.

Using EXTFILE  is the exact same as using OVRDBF at run time.

EXTFILE is probably your best solution.

HTH

Paul

----- Original Message -----
From: "Yivi" <nardus@xxxxxxxxx>
To: "RPG programming on the AS400 / iSeries" <rpg400-l@xxxxxxxxxxxx>
Sent: Tuesday, August 02, 2005 6:56 AM
Subject: Re: reading different files according to user input


>
> you have to change DOW 1=0 in either DOU 1=0 or DOW 1=1 in my previous
> example.

You had me quite confused for a little while.

Other than that, your solution seems to be the simple and econonomical, I'm
going for it. The kind of thing that look painfully obvious after you are
pointed to it. Many thanks!

Are you sure about EXTFILE being able to be used on external files? This
comes straight from the ref:

EXTFILE(filename)
(...snip...)
Notes:
(...snip...)
4. This keyword is not used to find an externally-described file at compile
time

Is this outdated? It's the reference that comes with WSDc 5.0. I know that
it doesn't include changes in r2 and r3, so it could be the case.

Thx.

Regards,

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