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


Please Help Members By Posting Answers For Below Questions

List down the types of triggers in the db2 database?

581


i want to maintain uniqueness on pdf without make lf??????????

1624


What does db2 stand for?

593


What is the difference between spufi and qmf?

633


What is bufferpool in db2?

572






What is buffer pool and list some of them?

622


What is db2 connect?

595


How do you stop a db2 database in linux?

560


What is view db2?

616


What is a bind in db2?

587


How can you classify the locks in db2?

624


What is the max length of sqlca?

755


What is the result of open cursor statement?

630


What is a db2 package?

595


What is the connection string to connect to the DB2 Database ?

608