Some guessing on my part ... answers below ...
Am 15.08.2021 um 00:36 schrieb Frank Swarbrick:
Our applications are all either single threaded batch (including batch DL/I) or
CICS. Is it correct that under CICS, even without the RENT binder option, only
a single instance of (the code portion of) a program is loaded in the CICS
region?
yes, I think so. The programs under CICS will fail, if they are not
really reentrant or if they are trying to modify their static areas.
In response to someone else's commend, I don't want to justify not using
REUS=RENT, only to determine if we should make an effort to, for example,
rebind all of our dynamically called subroutines with REUS=RENT, and then use
REUS=RENT from this point forward.
given your usage patterns, I don't think that you need to relink all
your modules. But you should IMO specify RENT from now on.
Someone else stated that by compiling with the RENT compiler option, it will
implicitly bind as RENT as well. My observations tell me that this is not the
case.
IMO, RENT and REUS are Linkage Editor attributes added at linkage time;
they are not stored in the object modules, AFAIK;
in contrast to AMODE and RMODE, which are properties of the CSECTs built
by the compilers.
You should see this in your archived binder listings (load module
attributes, at the end of the listing);
if they were marked REENTRANT, you should see it there.
Kind regards
Bernd
----------------------------------------------------------------------
For IBM-MAIN subscribe / signoff / archive access instructions,
send email to lists...@listserv.ua.edu with the message: INFO IBM-MAIN