What is the difference between a package and a plan?

Answers were Sorted based on User's Feedback



What is the difference between a package and a plan?..

Answer / deepak dada

plan contain the package. plan is executable unit. not
package package contains only one dbrm as input and plan
contains nos of dbrm as input .package is more useful than
plan

Is This Answer Correct ?    39 Yes 3 No

What is the difference between a package and a plan?..

Answer / s

A package is a single bound DBRM.
Many DBRMs/packages can be bound to a Plan.

Is This Answer Correct ?    31 Yes 1 No

What is the difference between a package and a plan?..

Answer / rajyalakshmi

Plan will contain the package we can execute the plan but
we cant execute the package.
Plan will contain number of packagees.In Package only one
DBRM is present but in plan number of DBRMs r there.

Is This Answer Correct ?    24 Yes 1 No

What is the difference between a package and a plan?..

Answer / swetha

plan contains group of packages. plan is a pointer to
package.

Is This Answer Correct ?    19 Yes 4 No

What is the difference between a package and a plan?..

Answer / 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

What is the difference between a package and a plan?..

Answer / krishna priya

plan contains multiple DBRMs.but packag contains single
DBRMs as well as when package will excuated include the
list of plans

Is This Answer Correct ?    10 Yes 2 No

Post New Answer

More DB2 Interview Questions

What is scrollable cursor in db2?

1 Answers  


Define sqlca.

1 Answers  


What is db2 bind?

1 Answers  


how will you retrieve first record in table

1 Answers   UST,


What is a db2 package?

1 Answers  


What is sqlca?

1 Answers  


What is the reason behind not using select * in embedded sql programs?

1 Answers  


If I have 5 Queries in a DB2 Cobol program , while precompiling how many DBRMs will get created and How many Plans and Packages will get created while Bind Process?

8 Answers   Accenture,


how can you access index

4 Answers   IBM, Tech Mahindra,


For unmatched rows returned from an outer join, the column values in the other table are set to null e.g If A OUTER JOIN B returns some unmatched rows from A, the corresponding column values in B will be set to null. What can be done so that a null value is not displayed for these columns?

3 Answers  


Define check constraint.

1 Answers  


If the base table underlying a view is restructured, eg. attributes are added, does the application code accessing the view need to be redone?

2 Answers  


Categories