You mustn't delete the object, you always must move the object into another library and delete it only when it isn't used (night or IPL). You need 3 libraries: FIXVERSION, CURVERSION and OLDVERSION in this order. At the beginning, your program is only in CURVERSION; then, you must put the new program into FIXVERSION, so the new jobs use it. If you need to remove the fix, you must move the object into OLDVERSION library, so the new jobs use the CURVERSION. In the night by an automatic job, or in QSTRUPPGM program, you must clear OLDVERSION library.
-----Messaggio originale-----
Da: RPG400-L [mailto:rpg400-l-bounces@xxxxxxxxxxxxxxxxxx] Per conto di Paul Nicolay
Inviato: giovedì 25 giugno 2020 17:31
A: RPG programming on IBM i <rpg400-l@xxxxxxxxxxxxxxxxxx>
Oggetto: Re: MCH3402 Can it be avoided ?
Hi,
See my previous remarks about the limitations of this... and in addition you can't remove the fix neither when you want as it might again cause a MCH3402.
Kind regards,
Paul
________________________________________
From: RPG400-L <rpg400-l-bounces@xxxxxxxxxxxxxxxxxx> on behalf of Cussini Danilo <danilo.cussini@xxxxxx>
Sent: Thursday, June 25, 2020 17:27
To: RPG programming on IBM i
Subject: R: MCH3402 Can it be avoided ?
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.
--
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.