can any body explain about plan and pakage in detail....

Answer Posted / srinivasa gudla

A package is single bound DBRM with optimized access paths.
It contains location identifier, collection Identifier and
package identifier.

A package can have multiple versions, each with it's own
version identifier

Advantages of Packages,
Reduce the Bind Time.
Versioning.
Can provide BIND options at programmer level.

As Ashish mentioned above, Plan contains packages list which
is nothing but Pointers. whenever you are doing changes in
SQL staetments related to particular DBRM . Then only that
particular Packages needs to be rebind not the Plan. This is
similar to recompiling a sub program not the main program.

Is This Answer Correct ?    4 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What types of tables are there in the db2 database?

552


What is isolation level in db2?

577


How does cobol compile db2 program?

608


What is ibm db2 client?

521


What is data manager?

607






What is deadlock in db2?

579


Differentiate between cs and rr isolation levels? Where do you specify them?

580


define clustering index.

617


What does runstats do in db2?

607


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

603


What do you mean by between and in? Is between inclusive of specified range values?

666


What is database reorganization?

587


What is dbrm?

639


What is the difference between oracle and db2?

585


run jcl for cobol+db2 pgm?.. //jobcard //step001 exec pgm=ikjeft01 //systin dd * DSNSYSTEM(--------) RUN PROGRAM(MYPGMNAME) PLAN(-----), LIB(-------), PARMS(------) /* WHAT WILL U GIVE INSIDE THE BRACKETS... WHAT IS PLAN,PACKAGE,BIND?..PLAN N PACAKGES ARE GENERATED BY ?...

3790