|
Simon--
--Paul E Musselman PaulMmn@xxxxxxxxxxxxxxxxxxxx
Simon Said (in part):
On OS/400 when you run a program only the first chunk is copied into main storage. If you delete the program from DASD only the current instruction will continue to run. When the system moves to the next instruction it will run into the MCH3402 - Tried to refer to all or part of an object that no longer exists. Therefore one copy of the program.
.....
Programs are mostly not "write-capable" but that's not why they get moved. They get moved because there is no lock on them to indicate they may be in use and replacing (i.e., deleting and recreating) will cause jobs using the program to get MCH3402. Try it. You'll have a "learning experience" which is exactly what used to happen on S/38. Recreating an object always results in the new object getting a new address. It never replaces an existing object of the same name and type. Any existing object is either deleted or moved to QRPLOBJ. It is the fact that each object gets a single permanent virtual address that allows the 'move' function to work. The object is not moved, only its context changes.
As an Amazon Associate we earn from qualifying purchases.
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.