I am trying to use the AMS functionality in IBMMQ. After enabling AMS and setting policies to a particular queue I tried to put a message to the queue using MQPUT in the main thread of my application and it succeeded.
Afterwards I tried to give the MQCONN and MQPUT library commands in a separate worker-thread (posix thread)created, and the system always fails by saying the error code 2035 for that particular queue.
Can't we use the AMS facility with multi threading ? what is the settings or changes that needed to be done in order for this to be working?
( Our IBMMQ version is 7.5 / unix readhat / client mode )