On Mon, 19 Jan 2015 16:18:37 +0100, Bernd Oppolzer wrote: > >even a program that is linked as RENT may in certain circumstances >need to store some information in static storage. Think of a routine >that is >establishing a cache memory for a table access that is valid for ALL >parallel >running threads or subtasks. Then there should be ONE cache, and of course, >the anchor information for this cache has to be in static storage, and when >establishing the cache or accessing (or changing) the cache (which resides >in dynamic storage, of course), the anchor has to be written into the >static storage. > A coworker of mine accomplished something similar by causing his RENT CSECT to dynamically load a small serially REUSable CSECT into which it stored the anchor. This antedated the availability of name-token.
-- gil ---------------------------------------------------------------------- For IBM-MAIN subscribe / signoff / archive access instructions, send email to [email protected] with the message: INFO IBM-MAIN
