Not have seen any code, random thoughts on what I might try in this situation:
1)Does the created RPG program specify an activation group when compiled?
2) Do you call QTEMP/pgm so that the library list is ignored?
3) Is there another version of the program somewhere else that is getting called when you are testing?
4) How about looking at the opnqryf files after compilation but before calling QTEMP/rpg to see if they actually have data, just in case the compile messes something up.

But to me, it sound like an activation group scope issue.

Sam

Caveat: been a developer on the platform since 1995, never used the cycle and used opnqryf on when maintaining someone else's work


On 1/17/2025 11:38 AM, tgarvey@xxxxxxxxxx wrote:
Here are the overrides for the open query files, which are in effect before the RPGLE program is compiled and executed...
ovrdbf openqryf1 tofile(A123456789) share(*yes) ovrscope(*job)
ovrdbf openqryf2 tofile(F123456789) share(*yes) ovrscope(*job)

I am moving to a Power7 server using v7r3 to see of there is any difference in function...



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