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



James,

DSPPGMREF only shows the file as it was known at compile-time. It does NOT mean that it's going to use the same library at run-time.

At run time, it does one of the following:

1) Uses the library specified in an override (OVRDSPF) if available.
2) Uses the library specified via EXTFILE, if available.
3) Uses *LIBL

I don't remember exactly when EXTFILE was added to the language -- but the same exact symptom could be created with OVRDSPF.


On 1/12/2012 12:11 PM, James Lampert wrote:
I've got a program that uses a display file. And I just discovered that
it's looking for its display file in a specific library, ignores the
*LIBL, and complains if the library where it was looking for the display
file doesn't exist.

And doing a DSPPGMREF on another program with a display file, I
discovered that it's not the only one that looks for its DSPF in a
specific library.

The problem with this specific case is that when installed on the
customer box, the program looks for the display file in the wrong library.

I've been writing RPG programs for over 17 years, and I've never noticed
this before. I don't recall database files being implicitly qualified to
wherever the compiler found them at compile time. This would seem to
make it difficult to move programs that use display files.

Can somebody shed some light on this?

--
JHHL


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.