DBA > Job Interview Questions > DB2 ( IBM Database 2 ) Interview Questions

DB2 What is the difference between a package and

More DBA job interview questions and answers at http://dba.fyicenter.com/Interview-Questions/

(Continued from previous question...)

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

Q: DB2 What is the difference between a package and a plan ? How does one bind 2 versions of a CICS transaction with the same module name in two different CICS regions that share the same DB2 subsystem?

AN:
Package and plan are usually used synonymously, as in this site. Both contain optimized code for SQL statements- a package for a single program, module or subroutine contained in the database request module (DBRM) library. A plan may contain multiple packages and pointers to packages. The one CICS module would then exist in a package that could be referenced in two different plans.

(Continued on next question...)

Other Job Interview Questions