IBM Mainframe Forum Index
 
Log In
 
IBM Mainframe Forum Index Mainframe: Search IBM Mainframe Forum: FAQ Register
 

Cobol ReCompile If modifying a copybook


IBM Mainframe Forums -> COBOL Programming
Post new topic   Reply to topic
View previous topic :: View next topic  
Author Message
Sreeja Nair D.V

New User


Joined: 05 Dec 2006
Posts: 2
Location: Bangalore

PostPosted: Mon May 19, 2008 1:42 pm
Reply with quote

Hi,
If Iam modifying a copybook, Is it necessary to recompile all the programs which uses this copybook ?Is it required to recompile even if the program doesnot use the new changes ? Or will the new changes be taken without recompiling? Is there any exception to this situation?
thanks
Sreeja
Back to top
View user's profile Send private message
enrico-sorichetti

Superior Member


Joined: 14 Mar 2007
Posts: 10873
Location: italy

PostPosted: Mon May 19, 2008 1:54 pm
Reply with quote

see these threads ...
http://www.ibmmainframes.com/viewtopic.php?t=28274&highlight=recompilation+copybook
http://www.ibmmainframes.com/viewtopic.php?t=29212&highlight=recompilation+copybook

my suggestion is..
always rebuild/recompile all the objects having a dependency on the copybook
to localize to a single action/event all the possible problems

If You do not rebuild/recompile, then at some later time when changing something else
and facing problems, You would never know when/why the issue arose
and You would be forced to carry on two debugging stages
the first one for the changed copybook
the second one for the successive changes

but the best thing is to follow the standars of your organization
Back to top
View user's profile Send private message
mytags

New User


Joined: 28 Apr 2008
Posts: 63
Location: US

PostPosted: Mon May 19, 2008 3:23 pm
Reply with quote

Hi Divya,
From my knowledge it is need to recomplile in some cases that is depending up the situation as Enrico said.His words are downright correct.
Thanks,
Hari
Back to top
View user's profile Send private message
View previous topic :: :: View next topic  
Post new topic   Reply to topic View Bookmarks
All times are GMT + 6 Hours
Forum Index -> COBOL Programming

 


Similar Topics
Topic Forum Replies
No new posts Replace each space in cobol string wi... COBOL Programming 3
No new posts COBOL -Linkage Section-Case Sensitive COBOL Programming 1
No new posts Modifying Date Format Using DFSORT DFSORT/ICETOOL 9
No new posts COBOL ZOS Web Enablement Toolkit HTTP... COBOL Programming 0
No new posts Calling DFSORT from Cobol, using OUTF... DFSORT/ICETOOL 5
Search our Forums:

Back to Top