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

How do I add a column to a table in db2?

0 Answers  


Do we need cursor for Count(*)?

4 Answers   iGate,


What is db2 look?

0 Answers  


Hi All, In a Cobol-DB2 program, I am fetching rows from 4 tables using cursor and then based on the a field present in that table, It processes the information accordingly..for example stat-c is one digit field..if stat-c is 'D' then the a row is deleted from table and written those details in to a file. If the stat-c is 'U' then a row is updated (hardcoded what to update)in a table and written those details in to a file. If the stat-c is 'I' then a row is inserted in a table and written those details in to two files. The issue is i have to include the intermediate commits. When an abend occurs, due to commit statement db2 tables will be saved, But there will be lose of file contents. When we resubmitting the job associated with this program there will be insert ,update and delete anomolies to avoid that what measures could be taken?. The intermediate commit is nothing but issuing commit after massive inserts, updates and deletes(sum of 500actions)

1 Answers  


What is the difference between TYPE 1 index & TYPE 2 index

1 Answers   IBM,






What is referential integrity?

5 Answers  


How would the varchar column remarks defined?

0 Answers  


What is the purpose of using commit?

0 Answers  


What are union and union all?

0 Answers  


What are iseries servers?

0 Answers  


How do I import data from excel to db2?

0 Answers  


how to delete perticular row from table for ex. how you will delete 3rd row from table please answer THANKS IN ADVANCE

10 Answers   IBM,


Categories