2486 (09B6) (RC2486): MQRC_CALLBACK_ROUTINE_ERROR

Explanation

An MQCB call was made with an Operation of MQOP_REGISTER failed for one of the following reasons:
  • Both CallbackName and CallbackFunction are specified. Only one must be specified on the call.
  • The call was made from an environment not supporting function pointers.
  • A programming language that does not support function pointer references.

Completion code

MQCC_FAILED

Programmer response

Ensure that the CallbackName value is specified correctly.