While compiling, RENT on IGYCRCTL versus HEWL.
While compiling, RENT on IGYCRCTL versus HEWL.
Hi,
We had been using a home grown CLIST to compile the COBOL programs of all sort. Now we have a new SCM tool coming in. we want to make sure that the compile JCL created by the CLIST and the new tool are same.
While testing I found out that for a batch COBOL program these were the options:
CLIST:
IGYCRCTL: NOOPT,DATA(31),RENT
HEWL: LIST, LET, MAP, XREF, AMODE=31, RMODE=ANY, CALL
Tool:
IGYCRCTL: NOOPT,DATA(31)
HEWL: LIST, LET, MAP, XREF, AMODE=31, RMODE=ANY, RENT
Noe, RENT is at IGYCRCTL in CLIST while in tool it is at HEWL (link/binder), will this make a difference?
I looked at these documents: https://www.ibm.com/support/knowledgece ... up0057.htm
https://www.ibm.com/support/knowledgece ... cllexx.htm
but still trying to confirm it. If someone can guide on this, that would be great.
We had been using a home grown CLIST to compile the COBOL programs of all sort. Now we have a new SCM tool coming in. we want to make sure that the compile JCL created by the CLIST and the new tool are same.
While testing I found out that for a batch COBOL program these were the options:
CLIST:
IGYCRCTL: NOOPT,DATA(31),RENT
HEWL: LIST, LET, MAP, XREF, AMODE=31, RMODE=ANY, CALL
Tool:
IGYCRCTL: NOOPT,DATA(31)
HEWL: LIST, LET, MAP, XREF, AMODE=31, RMODE=ANY, RENT
Noe, RENT is at IGYCRCTL in CLIST while in tool it is at HEWL (link/binder), will this make a difference?
I looked at these documents: https://www.ibm.com/support/knowledgece ... up0057.htm
https://www.ibm.com/support/knowledgece ... cllexx.htm
but still trying to confirm it. If someone can guide on this, that would be great.
- Robert Sample
- Global Moderator
- Posts: 1903
- Joined: Fri Jun 28, 2013 1:22 am
- Location: Dubuque Iowa
Re: While compiling, RENT on IGYCRCTL versus HEWL.
It can make a difference. Whether or not it actually does, though, is a different question. If the default compile option is RENT, then the tool not specifying it would not matter. If the default compile option is NORENT, though, then the COBOL compiler will NOT generate a reentrant object module and that would impact the linkage editor / binder since it would not be able to create a reentrant load module from nonreentrant object modules.Noe, RENT is at IGYCRCTL in CLIST while in tool it is at HEWL (link/binder), will this make a difference?
Your best bet would be to work with your site support group on the issue and find out what they have the compiler defaults set to. The default is RENT, but that can be changed by site options.
- enrico-sorichetti
- Global Moderator
- Posts: 843
- Joined: Wed Sep 11, 2013 3:57 pm
Re: While compiling, RENT on IGYCRCTL versus HEWL.
there is no relation whatsoever between the compiler and binder RENT parm
for cobol it will make a difference in the machine code being generated,
for assembler
it does not have any way to determine if the thing being bound is really reentrant or not
( at least for assembler )
all will be painfully discovered at run time
for cobol it will make a difference in the machine code being generated,
for assembler
IIRC the linkage editor / binder will just apply the requested attributesRENT
Specifies that the assembler checks for possible coding violations of program reenterability. Non-reenterable code is identified by an error message, but is not exhaustively checked because the assembler cannot check the logic of the code. Therefore, the assembler might not detect all violations of program reenterability.
it does not have any way to determine if the thing being bound is really reentrant or not
( at least for assembler )
all will be painfully discovered at run time
cheers
enrico
When I tell somebody to RTFM or STFW I usually have the page open in another tab/window of my browser,
so that I am sure that the information requested can be reached with a very small effort
enrico
When I tell somebody to RTFM or STFW I usually have the page open in another tab/window of my browser,
so that I am sure that the information requested can be reached with a very small effort

Re: While compiling, RENT on IGYCRCTL versus HEWL.
I was working with the team involved in setting up the tool. They told me if the options shown the in the COBOL listing from CLIST and TOOL are same, we are good. As shown below:
Is that correct, even when the we have difference in the JCLs generated as stated in the first post?
Is that correct, even when the we have difference in the JCLs generated as stated in the first post?
Code: Select all
PP 5655-S71 IBM ENTERPRISE COBOL FOR Z/OS 4.2.0
INVOCATION PARAMETERS:
NOOPT,DATA(31),RENT,
OPTIONS IN EFFECT:
NOADATA
NOADV
APOST
ARITH(COMPAT)
NOAWO
NOBLOCK0
BUFSIZE(16384)
NOCICS
CODEPAGE(1140)
NOCOMPILE(E)
NOCURRENCY
DATA(31)
NODATEPROC
NODBCS
NODECK
DIAGTRUNC
NODLL
NODUMP
NODYNAM
NOEXIT
NOEXPORTALL
FASTSRT
FLAG(W,E)
FLAGMIG4
NOFLAGSTD
INTDATE(ANSI)
LANGUAGE(UE)
LIB
LINECOUNT(60)
LIST
MAP
NOMDECK
NONAME
NSYMBOL(DBCS)
NONUMBER
NUMPROC(NOPFD)
OBJECT
NOOFFSET
NOOPTIMIZE
OUTDD(SYSOUT)
PGMNAME(COMPAT)
RENT
RMODE(AUTO)
NOSEQUENCE
SIZE(MAX)
SOURCE
SPACE(1)
NOSQL
SQLCCSID
NOSSRANGE
NOTERM
NOTEST
NOTHREAD
TRUNC(BIN)
PP 5655-S71 IBM ENTERPRISE COBOL FOR Z/OS 4.2.0
NOVBREF
NOWORD
XMLPARSE(XMLSS)
XREF(FULL)
YEARWINDOW(1900)
ZWB
PP 5655-S71 IBM ENTERPRISE COBOL FOR Z/OS 4.2.0
Re: While compiling, RENT on IGYCRCTL versus HEWL.
What you posted is from the compiler so how the options weere set is irrelevant as long as they are correct. The same goes for the binder.
Regards
Nic
Nic
Re: While compiling, RENT on IGYCRCTL versus HEWL.
I am sorry but I did not get you. You mean if the options appear in the above list, irrespective of the point whether they were supplied at compiler or binder does not matter?
- enrico-sorichetti
- Global Moderator
- Posts: 843
- Joined: Wed Sep 11, 2013 3:57 pm
Re: While compiling, RENT on IGYCRCTL versus HEWL.
where and how the options/parms are specified/provided DO matterirrespective of the point whether they were supplied at compiler or binder does not matter
the compiler does not know about the binder and the binder does not know about the compiler
the compiler does not care about the binder options/parms
the binder does not care about the compiler options/parms
cheers
enrico
When I tell somebody to RTFM or STFW I usually have the page open in another tab/window of my browser,
so that I am sure that the information requested can be reached with a very small effort
enrico
When I tell somebody to RTFM or STFW I usually have the page open in another tab/window of my browser,
so that I am sure that the information requested can be reached with a very small effort

- Anuj Dhawan
- Founder
- Posts: 2824
- Joined: Sun Apr 21, 2013 7:40 pm
- Location: Mumbai, India
- Contact:
Re: While compiling, RENT on IGYCRCTL versus HEWL.
It'd be a good idea to test the executable, after both the compilation, to verify if all works well.
Thanks,
Anuj
Disclaimer: My comments on this website are my own and do not represent the opinions or suggestions of any other person or business entity, in any way.
Anuj
Disclaimer: My comments on this website are my own and do not represent the opinions or suggestions of any other person or business entity, in any way.
Create an account or sign in to join the discussion
You need to be a member in order to post a reply
Create an account
Not a member? register to join our community
Members can start their own topics & subscribe to topics
It’s free and only takes a minute