Portal | Manuals | References | Downloads | Info | Programs | JCLs | Master the Mainframes
IBM Mainframe Computers Forums Index
 
Register
 
IBM Mainframe Computers Forums Index Mainframe: Search IBM Mainframe Forum: FAQ Memberlist Usergroups Profile Log in to check your private messages Log in
 

 

Copybook Change

 
Post new topic   Reply to topic    IBMMAINFRAMES.com Support Forums -> DB2
View previous topic :: :: View next topic  
Author Message
praveenhu

New User


Joined: 23 Jun 2006
Posts: 5

PostPosted: Thu Aug 05, 2010 9:22 pm    Post subject: Copybook Change
Reply with quote

Hi,

I have a copybook defined for the table. If I add a new field into the table, then I have to change the Copybook definition too right?

After changing the copybook definition should I have to recompile all the cobol codes that use this copybook even though they dont use the new field in the table or copybook?

Thanks in advance...
Back to top
View user's profile Send private message

dick scherrer

Site Director


Joined: 23 Nov 2006
Posts: 19270
Location: Inside the Matrix

PostPosted: Thu Aug 05, 2010 9:47 pm    Post subject:
Reply with quote

Hello,

Why do you believe this is a db2 question?

A copybook is a copybook. . .

If a change was made "in the middle", everything that uses the copybook will need to be recompiled - and the data may need to be adjusted. If something new was added at the "end", only code using the addition(s) might need to be recompiled.
Back to top
View user's profile Send private message
dbzTHEdinosauer

Global Moderator


Joined: 20 Oct 2006
Posts: 6966
Location: porcelain throne

PostPosted: Thu Aug 05, 2010 9:53 pm    Post subject:
Reply with quote

Hi Dick,
your confusion stems from the lack of proper terminology by the TS.

I am assuming the following translation is correct
(or the following corrected text is a true definition of the TS's question)

assumed problem description/question
  • adding a new column to a table.
  • will have a new dclgen
  • do I have to propagate this new dclgen even to modules that will not reference the new column?


even though this question has been asked and answered 10 times in the last year,
with the terminology used by the TS
he could never find the threads with a search.
Back to top
View user's profile Send private message
dick scherrer

Site Director


Joined: 23 Nov 2006
Posts: 19270
Location: Inside the Matrix

PostPosted: Thu Aug 05, 2010 11:15 pm    Post subject:
Reply with quote

Hi Dick,

Quote:
your confusion stems from the lack of proper terminology by the TS.
Yup, quite possibly. . . icon_smile.gif

I tried to answer "kinda generically" and wait and see if Praveen would reply. . .

Maybe later icon_wink.gif

d
Back to top
View user's profile Send private message
View previous topic :: :: View next topic  
Post new topic   Reply to topic    IBMMAINFRAMES.com Support Forums -> DB2 All times are GMT + 6 Hours
Page 1 of 1

 

Search our Forum:

Similar Topics
Topic Author Forum Replies Posted
No new posts Fail to change physical VSAM filename... jacobdng CICS 7 Fri Jan 20, 2017 12:36 pm
No new posts Copybook structure in Load module Vai123 COBOL Programming 7 Fri Sep 16, 2016 8:29 pm
No new posts Change date (DD/MM/YY) in 2nd record ... uday kiran DFSORT/ICETOOL 12 Wed Sep 07, 2016 10:57 pm
No new posts How to change dataset attributes of m... ignich7 JCL & VSAM 3 Thu Jul 21, 2016 9:17 pm
No new posts GDG vsersion number change Raghu navaikulam JCL & VSAM 5 Fri May 27, 2016 4:49 pm


Facebook
Back to Top
 
Mainframe Wiki | Forum Rules | Bookmarks | Subscriptions | FAQ | Tutorials | Contact Us