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



Excellent suggestion, Mark.  And as usual, Carsten Flensburg made it easy for us:

https://apimymymy.wordpress.com/2011/01/27/apis-by-example-move-and-rename-object-api-and-ibm-cl-command-reuse/


On 6/25/2020 10:20 AM, Mark Waterbury wrote:
Paul,

The API QLIRNMO was designed for exactly this purpose.  It has been available since V2R3.

Hope that helps,

Mark S. Waterbury



> On Thursday, June 25, 2020, 11:10:38 AM EDT, Paul Nicolay <paul.nicolay@xxxxxxxxxx> wrote:





Hi,


When replacing an object with another version you can get users dumping with MCH3402... the famous "Tried to refer to all or part of an object that no longer exists."


The only method to avoid this seems to be recompiling the source with REPLACE(*YES) which causes the system to create a copy of the existing program in QRPLOBJ.  A simple WRKOBJPDM option 3 or 11, which also requests to replace the object, doesn't seem to create such a copy.


Personally I don't like the idea of recompiling (for various reasons), neither do auditors which often state that compilers and sources don't belong on a production system.


So how can this be avoided, how are you installing new programs/emergency fixes in environments with close to zero downtime ?


Kind regards,

Paul



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.