---
title: "DB2: How to Bind Package Versions"
description: "You are very much familer with versions in DB2 package. These simple ideas help you to understand about package versions very neatly and clearly."
url: https://srinimf.com/2016/09/08/how-to-bind-package-versions-in-db2/
date: 2016-09-08
modified: 2026-10-10
author: "Srini"
image: https://i0.wp.com/srinimf.com/wp-content/uploads/2016/09/pexels-photo-356043.jpeg?fit=1880%2C1149&ssl=1
categories: ["DB2"]
tags: ["How Package Versions Created in DB2"]
type: post
lang: en
---

# DB2: How to Bind Package Versions

The package version means it adds the timestamp to your package. Here is the syntax.

```
Package.timestamp
```

## Package Version

**When new package version** is created for your new program, then without rebinding you can use your old program. This is the great advantage of using packages in DB2. The version identifier stored in the DBRM and link is generated from Precompiler.

Related[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/)

**Version acts as a parameter to the DB2 Precompiler.  No manual intervention is needed in creating version.**

1. When package is bound with new plan, all versions of that package are bound to new plan
2. When you are running a program with a plan , then based on version identifier link, it gets package version

Related Posts

- [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
- [6 Must Read DB2 PLAN Interview Questions](https://srinimf.com/2014/07/21/db2-5-frequently-asked-questions/)DateJuly 21, 2014
- [DB2 Package and Its Versions](https://srinimf.com/2015/11/10/how-the-multiple-versions-of-package-is-useful-in-db2/)DateNovember 10, 2015

### 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%2F2016%2F09%2F08%2Fhow-to-bind-package-versions-in-db2%2F&media=https%3A%2F%2Fi0.wp.com%2Fsrinimf.com%2Fwp-content%2Fuploads%2F2016%2F09%2Fpexels-photo-356043.jpeg%3Ffit%3D1200%252C733%26ssl%3D1&description=DB2%3A%20How%20to%20Bind%20Package%20Versions)
-
- [Share on Tumblr](https://www.tumblr.com/share)
- [Share on WhatsApp (Opens in new window) WhatsApp](https://srinimf.com/2016/09/08/how-to-bind-package-versions-in-db2/?share=jetpack-whatsapp)
- [More](#)
-

- [Print (Opens in new window) Print](https://srinimf.com/2016/09/08/how-to-bind-package-versions-in-db2/?share=print)
- [Share on Reddit (Opens in new window) Reddit](https://srinimf.com/2016/09/08/how-to-bind-package-versions-in-db2/?share=reddit)
- [Share on Telegram (Opens in new window) Telegram](https://srinimf.com/2016/09/08/how-to-bind-package-versions-in-db2/?share=telegram)
- [Email a link to a friend (Opens in new window) Email](mailto:?subject=%5BShared%20Post%5D%20DB2%3A%20How%20to%20Bind%20Package%20Versions&body=https%3A%2F%2Fsrinimf.com%2F2016%2F09%2F08%2Fhow-to-bind-package-versions-in-db2%2F&share=email)
-

### Like this:

Like Loading…
