View previous topic :: View next topic
|
Author |
Message |
Jiya_su
New User
Joined: 11 Dec 2006 Posts: 7 Location: hyderabad
|
|
|
|
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 |
|
|
guptae
Moderator
Joined: 14 Oct 2005 Posts: 1208 Location: Bangalore,India
|
|
|
|
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 |
|
|
Mi3
New User
Joined: 26 Nov 2006 Posts: 8 Location: Chennai
|
|
|
|
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 |
|
|
guptae
Moderator
Joined: 14 Oct 2005 Posts: 1208 Location: Bangalore,India
|
|
|
|
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 |
|
|
|