---
title: "DB2 Package and Its Versions"
description: "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. DB2 Package V..."
url: https://srinimf.com/2015/11/10/how-the-multiple-versions-of-package-is-useful-in-db2/
date: 2015-11-10
modified: 2026-10-10
author: "Srini"
image: https://i0.wp.com/srinimf.com/wp-content/uploads/2015/11/pexels-photo-6348060.jpeg?fit=1880%2C1253&ssl=1
categories: ["Mainframe DB2"]
tags: ["Multiple versions of Package in DB2"]
type: post
lang: en
---

# DB2 Package and Its Versions

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](https://srinimf.com/2016/09/08/how-to-bind-package-versions-in-db2/)

- 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](https://srinimf.com/2015/03/17/db2-four-isolation-levels-rr-rs-cs-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](http://www.ibmbigdatahub.com/blog/plans-collections-versions-packages-dbrms-confusion)

Keep Reading

- [DB2: How to Bind Package Versions](https://srinimf.com/2016/09/08/how-to-bind-package-versions-in-db2/)DateSeptember 8, 2016
- [DB2 Bind: Step-by-step Guide to Use Package Versions](https://srinimf.com/2015/11/09/how-to-run-cobol-program-with-different-versions-of-db2-package/)DateNovember 9, 2015
- [Db2- SQL Error -805 Resolution](https://srinimf.com/2013/07/29/db2-sql-error-805-resolution/)DateJuly 29, 2013

### Share this:

-
- [Tweet](https://twitter.com/share)
- [![](https://i0.wp.com/assets.pinterest.com/images/pidgets/pinit_fg_en_rect_gray_20.png)](https://www.pinterest.com/pin/create/link/?url=https%3A%2F%2Fsrinimf.com%2F2015%2F11%2F10%2Fhow-the-multiple-versions-of-package-is-useful-in-db2%2F&media=https%3A%2F%2Fi0.wp.com%2Fsrinimf.com%2Fwp-content%2Fuploads%2F2015%2F11%2Fpexels-photo-6348060.jpeg%3Ffit%3D1200%252C800%26ssl%3D1&description=DB2%20Package%20and%20Its%20Versions)
-
- [Share on Tumblr](https://www.tumblr.com/share)
- [Share on WhatsApp (Opens in new window) WhatsApp](https://srinimf.com/2015/11/10/how-the-multiple-versions-of-package-is-useful-in-db2/?share=jetpack-whatsapp)
- [More](#)
-

- [Print (Opens in new window) Print](https://srinimf.com/2015/11/10/how-the-multiple-versions-of-package-is-useful-in-db2/?share=print)
- [Share on Reddit (Opens in new window) Reddit](https://srinimf.com/2015/11/10/how-the-multiple-versions-of-package-is-useful-in-db2/?share=reddit)
- [Share on Telegram (Opens in new window) Telegram](https://srinimf.com/2015/11/10/how-the-multiple-versions-of-package-is-useful-in-db2/?share=telegram)
- [Email a link to a friend (Opens in new window) Email](mailto:?subject=%5BShared%20Post%5D%20DB2%20Package%20and%20Its%20Versions&body=https%3A%2F%2Fsrinimf.com%2F2015%2F11%2F10%2Fhow-the-multiple-versions-of-package-is-useful-in-db2%2F&share=email)
-

### Like this:

Like Loading…
