Here are the details about DB2 packages, and the need to keep multiple versions. The previous versions useful during code-blackout times, so that you can restore previous code correctly.
Advertisements
DB2 Package Versions
- Sometimes we would like to keep multiple VERSIONs of the same PACKAGE. For example, in a fallback situation, it would be nice to have both the current VERSION and the prior VERSION of a PACKAGE available.
- If we have both, for quick fallback, we could just point to the old load module in our JCL. Maybe we want one VERSION bound with ISOLATION UR and another bound with ISOLATION CS.
- If we have both, we could run with UR during read-only windows when all of the rows are committed and run with CS when maintenance is being performed and we need to be protected from “dirty” data.
More on Packages+Collections in DB2
Keep Reading