This is bizarre.

I have a CL program that rebuilds an environment library, including any RPGLE programs therein.

In the process, it rebuilds a large number of RPG "include" members, by copying a "template" version of the include member, OVRDBF-ing to the freshly minted member, then calling an ILE RPG program that regenerates the environment-specific portion of that member. Then, after that's accomplished, it rebuilds all the RPGLE programs in the library, some of which have /COPY lines pulling in one or more of those includes.

Worked great. Until I had to convert it from OPM CL to CLLE (changing the scope on all the overrides to *JOB.

Now, when I run it, the RPG compiler, when rebuilding the programs, is pulling in NOT the member specified on the /COPY line, but the last member the program had overridden to, even though there's a DLTOVR *ALL. And even after I thought I'd fixed it (by changing the scope on the DLTOVR to *JOB), it STILL pulls in the wrong include member.

To coin a phrase, Hellllllpppppppp meeeeeeeeeee!

--
JHHL

As an Amazon Associate we earn from qualifying purchases.

This thread ...


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.