What is the difference between a package and a plan?
Answer Posted / siri
PACKAGE:- package is a single bound dbrm...package is not executable......means its not executable with the cobol load module...dbrm bind the package and trun into the plan...when there is changes need to the sub prg its enough to recompile sub program...for example i have 10 prgs like a,b,c,d,e,f,i,j...i have the requirement to changes need to the program b..in case of package only recompile and rebind b program only....
PLAN :- plan is collections of packages....dbrm is also directly bind to the plan...but one dis advantage is there when dbrm is directly rebind in plan...that is suppose 10 dbrms is there..10 dbrms 10 times rebind to the plan..same example is like above...10 prgs is there like a,b,c......j b program to need changes after compiling the program u rebind not only b program all are rebind again...in case of package bind into the plan...suppose 1000 packages are there they are included in one package list it is easy to bind to the plan...no need to the rebind the 1000 times..one u bind that automatically 999 prgs are bind into the plan...
| Is This Answer Correct ? | 12 Yes | 1 No |
Post New Answer View All Answers
List some fields from sqlca?
What is the use of value function?
What is the role of union all and union
How do you find the maximum value in a column in db2?
What is load utility in db2?
How to retrieve rows from a db2 table in embedded sql?
How to check last update on table in db2?
What do you mean by rollback?
What is commit in db2?
What is buffer pool in the db2 database?
What is the use of runstats in db2?
List out the buffer pools in db2
How do I delete a table in db2?
How to find the number of rows in db2 tables?
Can there be more than one cursor open for any program?