During database upgrade, all packages for user applications and routines are marked as invalid. You must rebind invalidated packages to take advantage of changes in the DB2® server and new statistics.
Packages will be implicitly rebound the first time an application uses them after upgrading your database. To eliminate this overhead, you can rebind invalid packages by running the REBIND command or the db2rbind command after the upgrade process is complete. You must explicitly rebind inoperative packages.
Restrictions
This procedure only applies to Embedded SQL database applications programmed in C, C++, COBOL, FORTRAN, and REXX.
Ensure that you have DBADM authority.
To rebind packages in upgraded databases: