Charles, I'm pretty sure that you're seeing normal behavior. I don't have time to look everything up but I believe that the following explanation is fairly accurate.
LOAD with GLOBAL= causes CSV to issue a STORAGE OBTAIN in SP=241 (Pageable) or 245 (fixed) - both of which have no accounting as far as VSM is concerned - instead of the usual SP=251 or SP=252. I believe that LOAD sets a special GLOBAL bit in the LMOD's CDE. When the address space terminates (i.e. ends for any reason), the Region Control Task invokes an End-of-Memory exit to clean things up (e.g. allocations, enqueues, accountable subpools and tasks). This exit also DELETEs all owned LMODs (i.e. those in the CDE chain(s)). When it finds one marked GLOBAL, it issues a STORAGE RELEASE for the SP=241 or SP=245 area that it obtained when the LMOD was LOADed. EOM=NO causes the same kind of thing to occur at task termination. There are at least two ways of bypassing this behavior. Binyamin mentioned one. The other is to issue the STORAGE OBTAIN in SP=241 yourself. Then issue the LOAD, pointing to that area, without the GLOBAL and EOM keywords. Cheers, Alan -----Original Message----- From: IBM Mainframe Discussion List [mailto:[email protected]] On Behalf Of Charles Mills Sent: Tuesday, February 08, 2011 12:44 To: [email protected] Subject: Re: What is "address spec terminates" in context of LOAD EOM=YES? Ah Binyamin, you are a man of few, but cogent, words. Thanks! Looks like the answer to my second question: how do "permanent" load? Anyone have an answer to my first question (which is mooted if CSVDYLPA lives up to its promise): what is "until address space terminates" in context of LOAD EOM=YES? Also my apologies for the typo in the subject line. How did I mean to type space and have it come out spec? Not even close. Charles -----Original Message----- From: IBM Mainframe Discussion List [mailto:[email protected]] On Behalf Of Binyamin Dissen Sent: Tuesday, February 08, 2011 12:27 PM To: [email protected] Subject: Re: What is "address spec terminates" in context of LOAD EOM=YES? On Tue, 8 Feb 2011 11:57:28 -0800 Charles Mills <[email protected]> wrote: :>The documentation for LOAD EOM= says "Indicates whether a module in global :>storage is to be deleted when the address space terminates (EOM=YES) or when :>the task terminates (EOM=NO)." ---------------------------------------------------------------------- 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 ---------------------------------------------------------------------- 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

