Patrik, and Greg,

The correct way to replace a *PGM that may be "in use" is to recompile from source with the REPLACE(*YES) parameter specified, or recompile into another library, and then use the QLIRNMO API to move/rename/replace the compiled object with the new one. 

This API was added at V2R3, IIRC, and provides the same functionality as the REPLACE(*YES) parameter on the various CRTxxxPGM commands ...

The API also works equally well with bound *PGMs and *SRVPGMs.

Hope that helps,

Mark S. Waterbury


On Thursday, April 29, 2021, 5:05:57 PM EDT, Patrik Schindler <poc@xxxxxxxxxx> wrote:

Hello Greg,

Am 29.04.2021 um 22:46 schrieb Greg Wilburn <gwilburn@xxxxxxxxxxxxxxxxxxxxxxx>:

I just assumed you couldn't do that while it was in use.

I can confirm this even for ancient V4.

:wq! PoC



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.