Managing program authorization
Program authorization lets you control whether a Db2 application program is authorized to use a plan.
Before you begin
Table SYSIBM.DSNPROGAUTH and index SYSIBM.DSNPROGAUTH_IDX1 must exist on your Db2 subsystem. They are created by installation job DSNTIJSG.
About this task
Restriction:
Programs that run in the following environments do not support program authorization:
- RRSAF applications that issue CREATE THREAD with a collection name, and therefore use the default plan name ?RRSAF
- Multicontext ODBC applications, which use the RRSAF attachment facility and the plan name DSNACLI
- Programs that run in stored procedure address spaces
Procedure
To enable program authorization: