Wow! Who woulda thunk it, unless you actually been there?  Good to know. Thank 
you! 

-----Original Message-----
From: IBM Mainframe Discussion List [mailto:IBM-MAIN@LISTSERV.UA.EDU] On Behalf 
Of Peter Relson
Sent: Friday, August 27, 2021 8:36 AM
To: IBM-MAIN@LISTSERV.UA.EDU
Subject: Re: LOAD with ADDR

Caution! This message was sent from outside your organization.

<snip>
LOAD with GLOBAL=YES also performs the same function flawlessly -- and comes 
with the additional feature of automatic cleanup at termination time (assuming 
that's the behavior you want).
</snip>

The "automatic cleanup at termination" is in almost 100% of cases considered a 
system integrity error (or at least a RAS error) since it requires a lot of 
care to be certain that no code can be executing within that address range at 
the time of your termination (and the accompanying automatic cleanup). If the 
program within there is not currently dispatched (or even if it is, but less 
likely), then the storage is reused for "something else", upon re-dispatch 
results are (at best) unpredictable. If you are lucky it will blow up.

So think very carefully before using LOAD with GLOBAL=YES.

Peter Relson
z/OS Core Technology Design


----------------------------------------------------------------------
For IBM-MAIN subscribe / signoff / archive access instructions, send email to 
lists...@listserv.ua.edu with the message: INFO IBM-MAIN

----------------------------------------------------------------------
For IBM-MAIN subscribe / signoff / archive access instructions,
send email to lists...@listserv.ua.edu with the message: INFO IBM-MAIN

Reply via email to