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. A common problem is to specify
the .kdb
suffix in the name of the keystore.
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.
Completion code
MQCC_FAILED
Programmer response
Specify a valid location for the key repository.