Let me put it simply:

In my opinion, unless you can guarantee that the owning task (for EOM=NO) 
or owning address space (for EOM=YES) will never terminate, you should 
never use LOAD with GLOBAL=YES.
It is almost (perhaps beyond "almost") impossible to serialize access to 
such code in such a way that if it gets freed there will be no subsequent 
access (where that access could blow up, could get incorrect data, or 
could be a system integrity problem depending upon how the storage was 
subsequently used).

If you have an executable module, use CSVDYLPA. In fact, use CSVDYLPA 
whether or not your task and/or address space ever terminates. 
If you have data, use LOAD with ADDR having first obtained the storage in 
whatever subpool meets your needs.

Peter Relson
z/OS Core Technology Design

----------------------------------------------------------------------
For IBM-MAIN subscribe / signoff / archive access instructions,
send email to [email protected] with the message: INFO IBM-MAIN

Reply via email to