What is the impact of not changing the translator parm to COBOL3 from COBOL2?
We are using COBOL for OS/390 2.1.2 and CICS translator 5.3.0. We have found that we have some purchased software that includes pretranslated procedure division copybooks. When using the COBOL3 parm, several fields are no longer inserted into working storage. DFHEIV0 is needed for the pretranslated copybooks.
We are planning on upgrading to Enterprise COBOL 3.2, probably in the third quarter. Are the impacts any different?
I must confess that COBOL is not my favorite area of expertise. You might be better off asking this question to my Language Environment chum on the Web site. All the info about changing COBOL compiler levels is documented in the (exhaustive) Language Environment manuals.
Two things, however, spring to mind. The first is that you cannot mix the levels of COBOL in a given compilation. If your copybooks are translated assuming a given CICS translator setting, then that's the one you have got to use for the rest of the module.
The second is that if you move to the latest level of the Enterprise COBOL compiler band CTS 2.2, you can use the integrated translator and not bother about having copybooks pretranslated. You also get the correct line numbering for such an item as well.
My understanding that the COBOL2 translator option and the COBOL3 option do not have any prereq upon the COBOL language for the code, so changing up the level should not have any drastic effects.
CICS Technical Strategist -- CICS expert at Search390.com
Editor's note: Do you agree with this expert's response? If you have more to share, post it in one of our .VO7aaqqaAFk.0@/search390>discussion forums.
Dig Deeper on IBM system z and mainframe systems
Related Q&A from Robert Crawford
For better mainframe capacity planning, how do I convert CPU hours to MIPS? And is there a way to calculate the relationship between MIPS and MSUs? Continue Reading
I have two years of experience in mainframe technology, currently working as a mainframe developer. I want to change to Java technology. Continue Reading
I want to replicate DB2 from the mainframe to an AIX box since it's cheaper and the copy can be used for testing. Is this possible? Continue Reading
Have a question for an expert?
Please add a title for your question
Get answers from a TechTarget expert on whatever's puzzling you.