2381 (094D) (RC2381): MQRC_KEY_REPOSITORY_ERROR

Explanation

On an MQCONN or MQCONNX call, the location of the key repository is either not specified, not valid, or results in an error when used to access the key repository. The location of the key repository is specified by one of the following:
  • The value of the MQSSLKEYR environment variable (MQCONN or MQCONNX call), or
  • The value of the KeyRepository field in the MQSCO structure (MQCONNX call only).

For the MQCONNX call, if both MQSSLKEYR and KeyRepository are specified, the latter is used.

This reason code occurs in the following environments: AIX®, HP-UX, Solaris, Windows.

Completion Code

MQCC_FAILED

Programmer response

Specify a valid location for the key repository.