IBM Mainframe Discussion List <[email protected]> wrote on 09/20/2006 11:21:40 AM:
> On Wed, 20 Sep 2006 08:05:18 -0500 Andy Wood <[EMAIL PROTECTED]> wrote: > > :>On Wed, 20 Sep 2006 12:16:12 +0300, Binyamin Dissen > :><[EMAIL PROTECTED]> wrote: > > :>>It appears that all task related storage, including loaded modules, are > :>>released after the initialization routine ends despite the fact that the > :>TCB > :>>remains around. > > :>Does ATTR=(...,KEEPRGN) on the ASCRE help? If so, perhaps you need that - > :>in more ways than one. > > That took care of the problem. > > I wonder about the side effects that the PMR describes, but I can now go on. > Usually, the initiator calls VSM Get Region processing, which frees all region (a.k.a Low Private) subpools (0-132, 250-252), and sets up the region limits requested by the REGION parameter or IEFUSI. That is what freed the storage for your LOADed modules. KEEPRGN causes this processing to be bypassed, as well as bypassing the TRANSWAP for the PPT NOSWAP attribute. (I don't know why the TRANSWAP is bypassed - that may have been unintentional. But it means that NOSWAP in the PPT is effectively ignored when KEEPRGN is specified). Since the region subpools are not freed, any region subpools used during the initialization routine will continue to be key 0, when they would usually be key 8 or the PPT key. So, for example, if you LOAD a non-reentrant module during the initialization routine, subpool 251 will be created as a key 0 subpool. Then later when your jobstep task gets attached, since the region was not freed, subpool 251 will still exist as a key 0 subpool. Subsequent LOADs of non-reentrant modules into subpool 251 will be into key 0 storage (and fetch protected), so you won't be able to execute them unless you are running key 0. Also, the REGION/IEFUSI limits will not be honored. Jim Mulder z/OS System Test IBM Corp. Poughkeepsie, NY ---------------------------------------------------------------------- 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

