What is the difference between a package and a plan?
Answers were Sorted based on User's Feedback
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 |
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 |
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 |
Answer / swetha
plan contains group of packages. plan is a pointer to
package.
Is This Answer Correct ? | 19 Yes | 4 No |
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 |
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 |
What is db2 optimizer?
How we create a tables in DB2 ?Previously client has using 7 letters for user id,now he wants to increase the letters from 7 to 12 for user id.How we can do it?
What is the size of a data page?
Explain in brief how does db2 determine what lock-size to use?
Say CUST Table contains records like: CUSTNO CUSTNAME CUSTLOC 100 ABC SSS 200 XYZ 300 PQR 400 MNO WWW 500 CVV ------------- ------------- Now write a query to retrieve all records with CUSTLOC no data.
Explain about dbrm.
What is an intent lock?
What are sqlcodes –803,-805, -811, -818,-904,-911,-913,-101, +100?
What is precompiler in db2?
What technique is used to retrieve data from more than one table in a single SQL statement?
What does this mean ? GRANT BIND,EXECUTE ON PLAN MK2 TO PUBLIC;
In my table having 100 Rec. How can I delete the 7th row?? (we don't know what is data inside the table)