I am busy with my project work. However, I provided this packages concept blog for your reference..
The version in simple terms means adding the timestamp to your package.
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. Read how to create Package Versioning.
Version acts as a parameter to the DB2 Precompiler. No manual intervention is needed in creating version.
- When package is bound with new plan, all versions of that package are bound to new plan
- When you are running a program with a plan , then based on version identifier link, it gets package version