On Mon, 12 Jun 2017 02:24:30 +0000, Jesse 1 Robinson <jesse1.robin...@sce.com> wrote:
>I got tired of guessing. I wrote a little program that saves registers into >itself via STM. I linked it with AC(1) and RENT. Did not specify >either REUS >or REFR. The result according to StarTool is >-- ATTRIBUTES - APF >RENT REUS AC >As suggested in the KC doc, REUS is set automatically as a subordinate of >RENT, but REFR is not set. Result at execution: >If the module is executed from my personal non-APF library, it runs fine. >If the module is executed from an APF library, it get S0C4. >I was dubious about 'RENT OK if execution is serialized'. This is a single >execution in batch. No competition. It abends. I don't see how >it could be >otherwise. No one has said that a RENT program could modify itself, with serialziation, if it's loaded from an authorized library. However, it can do that if it's loaded from a non-authorized library (assuming it is not also REFR, or that REFRPROT is off). -- Walt ---------------------------------------------------------------------- For IBM-MAIN subscribe / signoff / archive access instructions, send email to lists...@listserv.ua.edu with the message: INFO IBM-MAIN