×
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.
Add to the library list a library for fixes before the library for programs and put inside it the new programs; then, every night or in the weekend, run a job that move all the objects from library for fixes to library for programs. In this way you can remove a fix when it doesn't work as you aspect.
-----Messaggio originale-----
Da: RPG400-L [mailto:rpg400-l-bounces@xxxxxxxxxxxxxxxxxx] Per conto di Paul Nicolay
Inviato: giovedì 25 giugno 2020 17:10
A: RPG programming on IBM i <rpg400-l@xxxxxxxxxxxxxxxxxx>
Oggetto: MCH3402 Can it be avoided ?
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
--
This is the RPG programming on IBM i (RPG400-L) mailing list To post a message email: RPG400-L@xxxxxxxxxxxxxxxxxx To subscribe, unsubscribe, or change list options,
visit:
https://lists.midrange.com/mailman/listinfo/rpg400-l
or email: RPG400-L-request@xxxxxxxxxxxxxxxxxx
Before posting, please take a moment to review the archives at
https://archive.midrange.com/rpg400-l.
Please contact support@xxxxxxxxxxxxxxxxxxxx for any subscription related questions.
Help support midrange.com by shopping at amazon.com with our affiliate link:
https://amazon.midrange.com
As an Amazon Associate we earn from qualifying purchases.