Interview Questions

DB2 What is the difference between a package and a plan

CICS 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 package that could be referenced in two different plans.

(Continued on next question...)

Other Interview Questions