MQSeries 2045: MQRC_OPTION_NOT_VALID_FOR_TYPE
8. July, 2008 at 12:14 | In Software | Leave a CommentTags: Java, MQSeries
While doing some work with MQSeries, I got an error “MQJE001: Completion Code 2, Reason 2045″ in MQQueueManager.accessQueue() which translates to “MQRC_OPTION_NOT_VALID_FOR_TYPE”. Hm. Hey, IBM, how about adding real error messages to your products instead of having people look up odd codes in tables?
Anyway, the error means that I’m trying to open a queue for output which doesn’t support this. For example, remote queues can’t be opened with the option MQC.MQOO_OUTPUT. Other queues don’t allow to read from them, i.e. you have to get rid of MQC.MQOO_INPUT_AS_Q_DEF in the openOptions.
No Comments Yet »
RSS feed for comments on this post. TrackBack URI
Leave a comment
Blog at WordPress.com. | Theme: Pool by Borja Fernandez.
Entries and comments feeds.
