Compilation is necessary if 88 level is added?

OS/VS COBOL, COBOL II, Enterprise COBOL for z/OS. OpenCOBOL and OOCobol.
Previous topicNext topic

Topic Author
Rashmi Bansal
New Member
Posts: 6
Joined: Fri Jan 17, 2014 6:53 pm

Compilation is necessary if 88 level is added?

Post by Rashmi Bansal » Thu Apr 13, 2017 7:44 pm

Hi,

If there is a new 88 level variable is added in a copybook then should we recompile all the cobol programs using that copybook or is it ok not to compile them? Please help.



User avatar

Robert Sample
Global Moderator
Global Moderator
Posts: 1328
Joined: Fri Jun 28, 2013 1:22 am
Location: Dubuque Iowa
Zodiac: Virgo

Re: Compilation is necessary if 88 level is added?

Post by Robert Sample » Thu Apr 13, 2017 7:59 pm

It would be wise to recompile all programs using the copybook since otherwise there may be duplicate variable names that you're not aware of and that could cause issues later on. Is it necessary to recompile every program using the copybook? No, it is not -- only those programs using the new 88 level have to be recompiled.



Previous topicNext topic

Return to “IBM COBOL, GnuCOBOL (OpenCOBOL), OOCobol.”