You need to rebind a package when you make changes that affect the package, but the SQL
statements in the package have not changed. For example, if an associated object changed or an index
was created, you need to rebind the package. When you rebind a package, the Db2 optimizer evaluates whether any access path
changes are needed.
Procedure
To rebind a package:
On the DB2 Administration Menu (ADB2)
panel, specify option
1, and press Enter.
On the System Catalog (ADB21)
panel, specify option
K (for packages), and press Enter.
On the Packages (ADB21K) panel, specify the
RB line command next to the package that you want to rebind.
On the Rebind package (ADB21KR)
panel, specify the options
that you want, and press Enter.
If you are changing the owner or qualifier for the package, set the PLANMGMT parameter to OFF or
leave it blank.