>LOAD allows GLOBAL=YES,EOM=NO to put the module in CSA.

This seems to be a somewhat scary misunderstanding of the EOM=YES and 
EOM=NO options of LOAD with GLOBAL=YES.

EOM=NO: get rid of the module at task termination of the loading task
EOM=YES: get rid of the module at memory termination of the loading 
address space

In either case, it won't be there as soon as your address space 
terminates, and if you're lucky execution might program check. If you're 
not lucky, the storage might be reused by something that will not result 
in a program check and might cause a system problem. This could be 
considered a system integrity error.

Only if you know your loading address space will never terminate (meaning 
that the system will wait state if it does) is it truly likely that it is 
valid to use LOAD with GLOBAL=YES, since it is extremely rare (if ever) 
that you could know with 100% certainty that no work unit was "in" your 
module (from another address space) when your address space terminated. 
Otherwise, use of CSVDYLPA is highly recommended. LOAD with ADDR could be 
used, but has worse RAS characteristics, such as not being able to use 
IPCS services to identify the name of the module if an error occurs within 
it (you'd likely have to look through storage hoping for some sort of 
eyecatcher).

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