Explicit package privileges
You can explicitly grant privileges on packages.
Db2 supports the following package privileges:
| Package privilege | Operations allowed for a named package |
|---|---|
| BIND | The BIND, REBIND, and FREE PACKAGE subcommands, and the DROP PACKAGE statement, to bind or free the package, and, depending on the installation option BIND NEW PACKAGE, to bind a new version of a package |
| COPY | The COPY option of BIND PACKAGE, to copy a package |
| EXECUTE | Execute the package and, depending on the specification of the package-name in the PKLIST, include the package in the PKLIST option for the BIND PLAN statement |
| GRANT ALL | All package privileges |