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
 
How to change the content of COPYBOOK

 
Post new topic   Reply to topic    IBMMAINFRAMES.com Support Forums -> COBOL Programming
View previous topic :: :: View next topic  
Author Message
Jiya_su

New User


Joined: 11 Dec 2006
Posts: 7
Location: hyderabad

PostPosted: Fri Dec 29, 2006 11:02 am    Post subject: How to change the content of COPYBOOK
Reply with quote

Hi Friends
I would like know to more information on copybook with answer of this question...
1) copy book A is calling another copybook B If any changes made in copy book B Will it affect copybook A..& Main program.

2) How to make changes in copybook? What is the procedure for that?

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

guptae

Moderator


Joined: 14 Oct 2005
Posts: 1188
Location: Bangalore,India

PostPosted: Fri Dec 29, 2006 12:17 pm    Post subject:
Reply with quote

Hi Jiya,

Quote:
1) copy book A is calling another copybook B If any changes made in copy book B Will it affect copybook A..& Main program.


What do u mean by that? IS copybook A contain the stmt COPY B
If it is the case any changes u made in copybook B & recompile ur program then changes will reflect in copybook A

Quote:
2) How to make changes in copybook? What is the procedure for that?


Depending upon ur shop's process u might need to check out the copybook made necessary changes find out all the program which is using this copybook recompile them & if require need necessary changes in the program
Back to top
View user's profile Send private message
Mi3

New User


Joined: 26 Nov 2006
Posts: 8
Location: Chennai

PostPosted: Fri Dec 29, 2006 12:37 pm    Post subject: Re: How to change the content of COPYBOOK
Reply with quote

Hi,
For the first question, as far as i know, all changes made in the called copybook (B) will be reflected in the calling copybook (A) and hence in the Main program. But be sure that you are pointing to the correct location while doing this.

Regarding your second question, I agree with Ekta. You need to check out the Copybook if that's existing in production , make changes and then recompile the Main program. (Of course you need to check out all the components that your program is calling -- here, copybooks A & B)

What we do usually do is checkout the Main Program to a package, checkout the copybooks and load modules, etc and then recompile the program after making changes in the copybooks.


Seniors, please correct me if the above is faulty or misleading.

Regards,
Navaneeth
_____________________
Happy New Year !!
Back to top
View user's profile Send private message
guptae

Moderator


Joined: 14 Oct 2005
Posts: 1188
Location: Bangalore,India

PostPosted: Fri Dec 29, 2006 12:40 pm    Post subject:
Reply with quote

Hi MI3,

Quote:
For the first question, as far as i know, all changes made in the called copybook (B) will be reflected in the calling copybook (A) and hence in the Main program. But be sure that you are pointing to the correct location while doing this.


If u change the copybook B & do not recompile the program which is using copybook A then changes will not effect
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 -> COBOL Programming All times are GMT + 6 Hours
Page 1 of 1

 

Search our Forum:

Similar Topics
Topic Author Forum Replies Posted
No new posts How to change the logon screen info o... sakthikumarT TSO/ISPF 4 Fri Dec 29, 2017 6:44 pm
No new posts Change NULL indicator in UNLOAD utility Khadhar Basha DB2 2 Fri Dec 15, 2017 3:01 pm
No new posts Extract record for change in combinat... Trinadh DFSORT/ICETOOL 6 Thu Nov 23, 2017 3:32 pm
This topic is locked: you cannot edit posts or make replies. Cobol to fetch the content by using s... arunc55 COBOL Programming 4 Fri Nov 17, 2017 1:25 pm
No new posts Execute JCL step based on the content... sprikitik JCL & VSAM 2 Tue Oct 03, 2017 10:03 am

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