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 REXX code to expand copybook in a cob... CLIST & REXX 2
No new posts Trying to change copybook in online c... CICS 4
No new posts Help to Filter File Manager Copybook ... DFSORT/ICETOOL 14
No new posts Need to add field to copybook, proble... COBOL Programming 14
No new posts Recompiling programs after a copybook... COBOL Programming 1
Search our Forums:

Back to Top