-20374   AN ALTER TRUSTED CONTEXT STATEMENT FOR context-name SPECIFIED authorization-name BUT THE TRUSTED CONTEXT IS NOT CURRENTLY DEFINED TO BE USED BY THIS AUTHORIZATION ID, PROFILE NAME, OR PUBLIC

Explanation

An ALTER TRUSTED CONTEXT statement for context-name attempted to replace or remove the ability for authorization-name to use the trusted context, but the specified authorization ID, profile name, or PUBLIC is not currently defined to use the trusted context.

The token authorization-name might return a RACF® profile name. A profile name is returned as a single token in the following format: PROFILE:profile-name.

System action

The statement cannot be processed.

Programmer response

Complete one of the following actions based on what the error is:
  • If an ALTER TRUSTED CONTEXT statement that contained a REPLACE USE FOR clause, and the trusted context was not already defined for use by that authorization ID, profile name, or PUBLIC, use the ADD USE FOR clause instead to define the trusted context to be used by the specified users.
  • If the ALTER TRUSTED CONTEXT statement contained the DROP USE FOR clause, none of the specified authorization IDs, profile name, or PUBLIC were currently defined to use the trusted context.

SQLSTATE

428GN