IBM MQ SendReceive causes Reason Code 2045 MQRC_OPTION_NOT_VALID_FOR_TYPE

Document ID : KB000077730
Last Modified Date : 13/04/2018
Show Technical Document Details
Issue:
IBM MQ Native Send Receive step is throwing this error when you try to GET and PUT messages to the queue in DEVTEST. 

----------------------------------------------------------------------------
| Message:     Error opening queue ##### with options 8194, Completion Code 2 (MQCC_FAILED), Reason Code 2045 (MQRC_OPTION_NOT_VALID_FOR_TYPE)
----------------------------------------------------------------------------
| Trapped Exception: Error opening queue #### with options 8194, Completion Code 2 (MQCC_FAILED), Reason Code 2045 (MQRC_OPTION_NOT_VALID_FOR_TYPE)
| Trapped Message:on Code 2 (MQCC_FAILED), Reason Code 2045 (MQRC_OPTION_NOT_VALID_FOR_TYPE) | Trapped Message:
Environment:
All Supported DevTest Environments. 
Cause:
In  IBM MQ messaging,  QUEUES   were created   with QUEUE TYPE  as  REMOTE Queues.  DEVTEST  only supports   LOCAL Queues, 
Resolution:
Created the Queues as LOCAL Queues and that resolved the issue.