> -----Original Message-----
> From: IBM Mainframe Discussion List [mailto:[email protected]] On
> Behalf Of Paul Gilmartin
> Sent: Tuesday, July 19, 2011 5:46 PM
> To: [email protected]
> Subject: Re: Re-entrant module stores into itself with no 0C4
> 
> On Tue, 19 Jul 2011 21:46:20 +0000, Gibney, Dave wrote:
> >> >>
> >>
> http://publib.boulder.ibm.com/infocenter/zos/v1r12/index.jsp?topic=/com.i
> bm.zos.r12.ieae200/progref.htm
> >> >
> >> >Actually, it not that I think it is no good, I think it's a long time 
> >> >coming.
> The
> >> problem is that I also know of at least one program (central to our batch
> >> processing) that exploits this "feature" :)
> >> >
> >> Relink it.
> >
> >I said exploits, not tolerates. By being marked RENT, the system still only
> loads one copy. Relink and I'll quickly use up virtual memory and suffer the
> overhead of loading multiple copies.
> >
> Since Ed J. has kindly reminded me of the difference, perhaps you
> should mark your module RENT,NOREFR (this shouldn't cause problems
> with REFRPROT, but perhaps Ed's experience is otherwise); and the OP
> mark his REFR and set REFRPROT=YES.

This is a reasonable suggestion and I may try it someday. Of course we started 
this path when I stated I know of one module we had which would be broken by 
setting REFPROT. I expect I would/will find others if/when I ever try REFPROT 
in our environment. So far, I still have products requiring key 8 user CSA, so 
REFPROT is further down on the list of things I may never get to :) because of 
the things higher on the list I might get to someday :(

Dave Gibney
Information Technology Services
Washington State University

> 
> In fact, many decades ago, a colleague did the experiment and
> confirmed what he inferred from the manual.  IIRC, REUS was
> sufficient to prevent loading multiple copies.  But the memory is
> fading, and perhaps things have changed.
> 
> -- gil
> 
> ----------------------------------------------------------------------
> 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

Reply via email to