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



I just a DSPPGMREF on a program on our system that uses a display file and hasn't been recompiled in years. The display file in the program shows a specific library, but that library doesn't exist on our system anymore. We have never had a problem with this program using the display file in the library list.

-----Original Message----- From: James Lampert
Sent: Thursday, January 12, 2012 1:11 PM
To: RPG programming on the IBM i / System i
Subject: Weird issue with a display file

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.