
Static linking change made to called program not calling program
Wed, 06/22/2011 - 09:56
We have static linking in our project. I have a COBDB2 program "B" which is called by another COBOL DB2 program "A". Program "A"
has a link "LA"
Now if I make changes to program B, what all steps should I do in order to get the changes picked successfully.
Which of the following is the correct option:-
1) Precompile, Compile program B, process the link of A and bind program B.
2) Precompile, Compile program A, process the link of A and bind program B.
3) Precompile, Compile program A and B, process the link of A and bind program A and B.
";
;
;
;
Click the +1 button below to share it with your friends and colleagues
Share this if you liked it!
I think the answer is option (1).
Since COBDB2 program B is changed it would require compiling & bind, and to pick the changes the link of A should be reprocessed in case of static linking.