DSNT241I bind-type AUTHORIZATION error-type ON PLAN plan-id AUTHORIZATION ID auth-id NOT AUTHORIZED TO EXECUTE PACKAGE package-name
Explanation
The indicated authorization ID
does not have EXECUTE authority on the specified package in the package
list.
- bind-type
- Type of bind subcommand: BIND or REBIND
- error-type
- Type of error: WARNING or ERROR. If VALIDATE(BIND) was specified, this is an ERROR message. Otherwise, it is a WARNING message.
- plan-id
- Name of application plan specified in the subcommand.
- auth-id
- Authorization ID of the plan owner. Attention: If you are using a trusted context, the token auth-id might return a role instead of an authorization ID. A role is returned, if a role was in effect and the authorization checking is performed against the role rather than the authorization ID of the session, when the condition was encountered. The role is returned in the following format as a single token: ROLE: role-name.
- package-name
- Name of the package (collection.package). The location of the package is the local DB2® location name.
System action
If the bind subcommand was invoked with VALIDATE(BIND), the BIND or REBIND operation is not performed. If VALIDATE(RUN) was used then the BIND or REBIND operation will continue.
System programmer response
The indicated plan owner should be granted the EXECUTE privilege on the package.