I have a batch program (A) that is re-entrant. However, statically linked
to it is a program (B) that is not re-entrant.
I thought that in this situation, the entire load module would be marked
non-reentrant by the linkage editor and treated as such during
execution; e.g., a new copy would be loaded each time the module is called.
Is that NOT the case?
Besides, a S0C4 will only occur if you store into storage that is not
allocated [to you] or that is allocated with the "wrong" storage protect
key. That should not be the case for your own load module.
I didn't recall that APF authorized code got loaded into protected
storage but that is certainly possible or perhaps new...
--
Leland Sheppard
Placerville, California, USA
----------------------------------------------------------------------
For IBM-MAIN subscribe / signoff / archive access instructions,
send email to [email protected] with the message: GET IBM-MAIN INFO
Search the archives at http://bama.ua.edu/archives/ibm-main.html