On Wed, Aug 10, 2016 at 12:16 AM, Peter Hunkeler <[email protected]> wrote:
> > > > I'm a bit OCD about trying to make all my code RENT,REUS. My main way to > think of this is "would this still run correctly if it were burned into > ROM?" I try to make the answer to that YES. > > > Put all your RENT modules into an APF authorized load library. No AC(1) > required! The code will be loaded into subpool 252 key 0 storage. It will > blow up with S0C4-4 if not really reentrant. > That would work. And _I_ can do it, being the senior z/OS sysprog & senior RACF person (and secondary tape librarian and programmer mentor and ... ) However, in a properly audited shop, this would likely cause a "conniption fit" with the auditors. If I am reading the z/OS 2.2 manual correctly, if you do a "SETPROG REFPROT" command, then all modules which are loaded, regardless of origin, which are marked REUS(REFR) will be loaded into key 0 storage. ref: https://www.ibm.com/support/knowledgecenter/SSLTBW_2.2.0/com.ibm.zos.v2r2.ieab100/reus.htm <quote> REFRThe module is refreshable. It can be replaced by a new copy during execution without changing the sequence or results of processing. A refreshable module cannot be modified during execution. A module can only be refreshable if all the control sections within it are refreshable. The refreshable attribute is negated if any input modules are not refreshable. Refreshable modules are also reenterable and serially reusable. The refreshable attribute can be specified for any nonmodifiable module. If REFRPROT has been specified on the SETPROG command or in parmlib member PROGxx, the module is protected from modification by placing it in key 0, non-fetch protected storage, and page protecting the whole pages. Note that debuggers, such as TSO TEST and UNIX debugging environments, will override REFRPROT protection for particular TCBs so that they can modify module storage in order to set breakpoints. <quote> > > > -- > Peter Hunkeler > > -- Klein bottle for rent -- inquire within. Maranatha! <>< John McKown ---------------------------------------------------------------------- For IBM-MAIN subscribe / signoff / archive access instructions, send email to [email protected] with the message: INFO IBM-MAIN
