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



Bob Cozzi wrote:

Joep,
You can supply the file name and library as variables, just declare a
variable as a data structure and break it apart; it's RPG IV, not Rocket
Science.
On another note, if you use EXTFILE and/or EXTMBR remember that THESE ARE
NOT OVERRIDES. They are direct opens of the specific file/member. So you
don't get the same side-effects as issuing an OVRDBF command. That is,
there's no SHARE(*YES) or SEQONLY(*YES) capability. Those options still need
to be issued via an OVRDBF command.
-Bob Cozzi

Hm. You would have have to have a 21 bytes data structure with a '/' in the middle. The file would have to be USROPN because you can't have entry parameters in a data structure. If you just need to point to a different library you would have to fill the filename part of the data structure. There is more than a fine line between rocket science and elegance :-)


Joep Beckeringh

As an Amazon Associate we earn from qualifying purchases.

This thread ...

Follow-Ups:
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.