-20361   AUTHORIZATION ID authorization-name IS NOT DEFINED FOR THE TRUSTED CONTEXT context-name

Explanation

authorization-name attempted to reuse a trusted connection using trusted context context-name. The trusted context name context-name cannot be used under the authorization-name.

This error can also occur for one of the following reasons:
  • The authorization ID is allowed to use the trusted context, but authentication is required and the request to switch users did not include the authentication token.
  • The authorization ID is allowed to use the trusted context , but the security label for the user is not one of the RACF® SECLABEL values defined for the user.
  • The authorization ID is allowed to use the trusted context, but the trusted context is disabled.
  • The system authorization ID attribute of the trusted context object associated with the trusted connection has been changed.
  • The trusted context object associated with the trusted connection has been dropped.

System action

The statement cannot be processed.

Programmer response

Establish a valid authorization ID to be associated with the trusted connection.
  • If the authorization ID is valid but requires authentication, provide the authentication token.
  • If the trusted context object is either disabled, dropped, or its system authorization ID is altered, then only the authorization ID that established the trusted connection is allowed. Provide this authorization ID.
  • If the authorization ID is valid but requires a RACF security label, then define the security label in RACF for the authorization ID.

SQLSTATE

42517