On Wed, 20 Sep 2006 17:40:22 -0400 Jim Mulder <[EMAIL PROTECTED]> wrote:
:>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. Just imagine how much easier this would be if this was in the manual. I guess an RCF would be in order, but all it could state is "Please document undocumented options" (which would be valid for pretty much any manual). Now that I know what is going on I can program a better solution. Thank you. -- Binyamin Dissen <[EMAIL PROTECTED]> http://www.dissensoftware.com Director, Dissen Software, Bar & Grill - Israel Should you use the mailblocks package and expect a response from me, you should preauthorize the dissensoftware.com domain. I very rarely bother responding to challenge/response systems, especially those from irresponsible companies. ---------------------------------------------------------------------- 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

