i am having 3 programs PRGA,PRGB,PRGC,
PRGA IS THE MAINPROGRAM
PRGA IS CALLING PRGB AS A DYNAMIC CALL.
PRGB IS CALLING PRGC AS A STATIC CALL.
PRGC IS HAVING DB2 STATEMENTS IF I MADE ANY CHANGES IN PRGC
WHAT PROGRAMS I HAVE TO COMPILE AND PRECOMPILE ANY ONE EXPLAIN THIS PROCESS.
I AM HAVING 2 PROGRAMS PRGA,PRGB
PRGB HAVING THE DB2 STATEMENTS
IN BIND TIME WHAT STEPS I HAVE TO FOLLOW.
Joined: 22 Aug 2005 Posts: 413 Location: Colarado, US
Hope this helps...
1)In the first case, you need to pre-compile and compile PRGC and then compile PRGB. I don?t think you need to compile PRGA.
2)I did not get the second question ? for any DB2 program, we need to pre-compile it, compile it and then we need to bind it to a plan. If we bind it to a package, then these packages need to be bound to the plan.