Closed creasman closed 1 year ago
That's the problem with relying on the documentation ... the list of valid MQCA_ attributes that this library understands was originally taken from the product docs but for some reason it doesn't list MQCA_VERSION. So I've added that, and a couple of other new items that should also be in there. And updated my build processes so hopefully this won't happen again with any new attributes.
Thanks! Appreciate the quick turnaround.
mq-mqi-nodejs version: ibmmq@1.0.1
I'm trying to use the mq.Inq command to query some basic information about the queue manager. After successfully opening a connection this is the query I am using:
This fails with the following error:
If I remove
MQCA_VERSION
from the selectors, then the inquire works and returns the expected information. I don't see any error messages on the queue manager console. That, and the lack of information returned for the other selectors, makes me think this request is failing on the client side.Should this work? If not, is there a way to surface a better error message than 'Unknown [NaN]'? My goal is to get the version information of the queue manager and/or MQ server.
Thanks, Jim