IBM would like (for obvious reasons) to have an attribute that means "read-only", but for some reason, they've never managed to just say so. The standard definitions of RENT and REFR do not logically require read-only modules, but both are treated as if they do.
sas On Thu, May 24, 2018 at 11:52 AM, Peter Hunkeler <p...@gmx.ch> wrote: > > >Loading from the HFS seems to prefer to load RENT modules in read-only > memory; without the "a" attribute. > > > > > I haven't tested, and I believe what you say is what you see. However, > this is not expected behaviour, since RENT does *not* mean the program must > not modify itself. The Program Management User's Guide explicitly mentions > that: > > > Module reusability: > o Reenterable (reentrant). The module is designed for concurrent execution > by multiple tasks. If a reenterable module modifies its own data areas or > other shared resources in any way, appropriate serialization must be in > place to prevent interference between using tasks. > > > -- > Peter Hunkeler > ---------------------------------------------------------------------- For IBM-MAIN subscribe / signoff / archive access instructions, send email to lists...@listserv.ua.edu with the message: INFO IBM-MAIN