View previous topic :: View next topic
|
Author |
Message |
prabhucs01 Warnings : 1 New User
Joined: 07 Mar 2005 Posts: 43
|
|
|
|
I have a main program calling 2 sub programs. And if I have changes in subprogram (All the three programs have DB2 components. Now with respect to plan package concepts, which are the packages and plan that, have to complied. For instance each of these subprograms of individual packages |
|
Back to top |
|
|
ramfrom84
New User
Joined: 23 Aug 2006 Posts: 93 Location: chennai
|
|
|
|
To avoid this problem use Dynamic call for calling Sub program, If u use the static call u need to recompile all the program including main programs in same packge. |
|
Back to top |
|
|
prabhucs01 Warnings : 1 New User
Joined: 07 Mar 2005 Posts: 43
|
|
|
|
another basic doubt. as i said before if i have a main programs and 2 subprograms, do all these programs come under same package or different package? |
|
Back to top |
|
|
Prajesh_v_p
Active User
Joined: 24 May 2006 Posts: 133 Location: India
|
|
|
|
Ideally it should come under diffrent packages...
Usually program to package relation is one to one and hence package to plan relation is many to one.. |
|
Back to top |
|
|
ashok_uddaraju
New User
Joined: 21 Feb 2007 Posts: 72 Location: US
|
|
|
|
hi all,
whenever any modifacation is done in db2, the programs need to be recomplied and the all related pakages are to be binded |
|
Back to top |
|
|
paban_patt
New User
Joined: 19 Jul 2007 Posts: 5 Location: bangalore
|
|
|
|
if the main program is a cobol program, na subprogram is a cobol-db2 , how to compile. |
|
Back to top |
|
|
|