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



The DSPPGMREF apparently shows the compile library all the time with any
*FILE object types, but in our case it's still using *LIBL to find the
objects. From one of our clients box:

Object . . . . . . . . . . . . . . . . . . : DE001FM
Library . . . . . . . . . . . . . . . . . : MSIBETOBJS
Object type . . . . . . . . . . . . . . . : *FILE
File name in program . . . . . . . . . . : DE001FM
File usage . . . . . . . . . . . . . . . : Input
Output

Object . . . . . . . . . . . . . . . . . . : IPHC
Library . . . . . . . . . . . . . . . . . : MSIBETDFMT
Object type . . . . . . . . . . . . . . . : *FILE
File name in program . . . . . . . . . . : IPHC
File usage . . . . . . . . . . . . . . . : Input
Update
WRKLIB MSI* gives you:
Work with Libraries

Type options, press Enter.
1=Create 2=Change 3=Copy 4=Delete 5=Display 6=Print
8=Display library description 9=Save 10=Restore
11=Save changed objects 12=Work with objects 14=Clear

ASP
Opt Library Attribute Device Text


(Cannot find object to match specified name.)

And the object is being used:
Change/Usage information:
Change date/time . . . . . . . . . . : 01/02/12 20:15:14
Usage data collected . . . . . . . . : YES
Last used date . . . . . . . . . . . : 01/12/12
Days used count . . . . . . . . . . : 9


-----Original Message-----
From: rpg400-l-bounces@xxxxxxxxxxxx
[mailto:rpg400-l-bounces@xxxxxxxxxxxx] On Behalf Of James Lampert
Sent: Thursday, January 12, 2012 1:14 PM
To: RPG programming on the IBM i / System i
Subject: Re: Weird issue with a display file

Monnier, Gary wrote:
Is the RPG qualifying the library as part of a USROPN? I've done
this if I don't find the file the library list. If it isn't in the
library list I hardcode the library to the production library it is
supposed to reside in.

No. There is no USROPN, no explicit qualification anywhere in the
source, and it's compiled on a compiler on which I couldn't (without an
OVRDBF and a USROPN) qualify a database file if I wanted to.

And it's evidently been doing this, completely unnoticed, in every other

ILE RPG program that uses a DSPF as well; the only reason why it came up

here is because it's qualified to a library that doesn't exist on the
customer box.

--
JHHL

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.