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

Copybook changes needs re-compilation or not?


IBM Mainframe Forums -> COBOL Programming
Post new topic   Reply to topic
View previous topic :: View next topic  
Author Message
arundvarma

New User


Joined: 23 Oct 2003
Posts: 6

PostPosted: Sat Dec 06, 2003 5:23 pm
Reply with quote

Hi,
Could any one tell me, if I make a change in the copybook that is used by a program,will the program need to be recompiled in order to take up the new load module or will it take the new one by default..If any one has to say more on this..pls do so..

Regards,
Arun.
Back to top
View user's profile Send private message
manoopatil

New User


Joined: 07 Dec 2003
Posts: 56
Location: Montreal

PostPosted: Sun Dec 07, 2003 2:23 pm
Reply with quote

Yes, the program needs to be recompiled.

The reason is compilation copies the variables from the copybook to the program. As you are changing the variables in the copybook, those changes wont be reflected in the program until you recompile that program.

I hope it helps.

Regards,
Manohar
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 a copybook getting improper values in... COBOL Programming 7
No new posts IDMS record copybook IDMS/ADSO 3
No new posts COBOL copybook to Focus COBOL Programming 7
No new posts Converting a copybook value into Json... COBOL Programming 1
No new posts How syntax check at Bind time is diff... DB2 5
Search our Forums:

Back to Top