Portal | IBM Manuals | Downloads | Products | Refer | Info | Programs | JCLs | Forum Rules*| Site Map | Mainframe CD 
IBMMAINFRAMES.com - IBM Mainframe Support Forums Index
 
Register
 
IBMMAINFRAMES.com - IBM Mainframe Support Forums Index FAQ Search Memberlist Usergroups Profile Log in to check your private messages Log in
 
Copybook changes needs re-compilation or not?

 
Post new topic   Reply to topic    IBMMAINFRAMES.com Support Forums -> Mainframe COBOL
Author Message
arundvarma

New User


Joined: 23 Oct 2003
Posts: 6

PostPosted: Sat Dec 06, 2003 5:23 pm    Post subject: Copybook changes needs re-compilation or not?
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
References
PostPosted: Sat Dec 06, 2003 5:23 pm    Post subject: Re: Copybook changes needs re-compilation or not? Reply with quote

manoopatil

New User


Joined: 07 Dec 2003
Posts: 18
Location: Pune

PostPosted: Sun Dec 07, 2003 2:23 pm    Post subject:
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
Display posts from previous:   
Post new topic   Reply to topic    IBMMAINFRAMES.com Support Forums -> Mainframe COBOL All times are GMT + 6 Hours
Page 1 of 1