I'm trying to connect to a mq series queue using pymqi. The queue is configured with user and password access. I'm trying to pass user/password to the queue filling pymqi.cd() fields UserIdentifier and Password, but every time I try to put a message in the queue I get this error
(MQI Error. Comp: 2, Reason 2035: FAILD: MQRC_NOT_AUTHORIZED)
Is it possible to connect to a queue using userid/password with pymqi?
The error reported is something like:
11.52.24 STC01966 ICH408I USER(Uxxxxx) GROUP(MMMMM ) NAME(NNNN NNNN N
806 CHAN1.EXAMPLE.QUEUE CL(MQQUEUE )
806 INSUFFICIENT ACCESS AUTHORITY
806 FROM CHAN1.EXAMPLE.* (G)
806 ACCESS INTENT(UPDATE ) ACCESS ALLOWED(NONE )
where UXXXXX happens to be the session user of the process that try to put a message in the queue