Portal | Manuals | References | Downloads | Info | Programs | JCLs | Mainframe wiki | Quick Ref
IBM Mainframe Computers Forums Index
 
Register
 
IBM Mainframe Computers Forums Index Mainframe: Search IBM Mainframe Forum: FAQ Memberlist 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: 6968
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 Partial color change of a field in CI... waseem0424 CICS 5 Fri Sep 29, 2017 7:56 pm
No new posts Assembler Macro Copybook converted to... Ziquilix PL/I & Assembler 4 Tue Sep 26, 2017 3:07 am
No new posts Moving values to a variable of copybo... Vignesh Sid COBOL Programming 6 Wed Sep 06, 2017 1:04 pm
No new posts How to change a string containing the... chong.zhou TSO/ISPF 6 Tue Aug 29, 2017 4:54 pm
No new posts change string before sertan string anatol DFSORT/ICETOOL 8 Tue Aug 15, 2017 5:43 pm

Facebook
Back to Top
 
Job Vacancies | Forum Rules | Bookmarks | Subscriptions | FAQ | Polls | Contact Us