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
what is the role of the cursor in db2?
Define db2 and its databases?
What is db2? Explain.
What is the difference between drop table and delete table?
What is a db2 schema?
How would you find out the total number of rows in a db2 table?
I HAVE 500 ROW TO UPDATE I WOULD LIKE TO USE ROLLBACK ALONG WITH COMMIT.WHAT IS THE SYNTAX TO CODE COMMIT AND ROLLBACK FOR EVERY 100 ROWS.AND HOW THE CURSOR ROLLBACK TO THE LAST COMMITTING POINT.
can we view the access paths created by dbrm ? how ? thx
SQLCODE = -199, ERROR: ILLEGAL USE OF KEYWORD CHAR, TOKEN KEY was expected
Give a brief description of db2 isolation levels?
Comment whether the cursor is closed during commit or not.
What is cascading rollback?
Mention the location where the output received from explain statement is stored.
Differentiate between cs and rr isolation levels? Where do you specify them?
List out the buffer pools in db2