ALERT: Some images may not load properly within the Knowledge Base Article. If you see a broken image, please right-click and select 'Open image in a new tab'. We apologize for this inconvenience.

IBM MQ SendReceive causes Reason Code 2045 MQRC_OPTION_NOT_VALID_FOR_TYPE

book

Article ID: 77730

calendar_today

Updated On:

Products

CA Application Test Service Virtualization CA Continuous Application Insight (PathFinder)

Issue/Introduction

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:

Cause

In  IBM MQ messaging,  QUEUES   were created   with QUEUE TYPE  as  REMOTE Queues.  DEVTEST  only supports   LOCAL Queues, 

Environment

All Supported DevTest Environments. 

Resolution

Created the Queues as LOCAL Queues and that resolved the issue.