python - Connect to mq series queue with pymqi using userid and password -
i'm trying connect mq series queue using pymqi. queue configured user , password access. i'm trying pass user/password queue filling pymqi.cd() fields useridentifier , password, every time try put message in queue error
(mqi error. comp: 2, reason 2035: faild: mqrc_not_authorized)
is possible connect queue using userid/password pymqi?
the error reported 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 chan1.example.* (g) 806 access intent(update ) access allowed(none )
where uxxxxx happens session user of process try put message in queue
you have been given 2035 (mqrc_not_authorized)
error application because of lack of authority trying do. error reported @ z/os queue manager racf indicated tried open queue called chan1.example.queue
put message it, have no access queue. in fact have no access queues covered profile chan1.example.*
. need permitted update
access profile using command this:-
permit chan1.example.* class(mqqueue) id(uxxxxx) access(update)
it not because of user id , password. user ids , passwords checked @ queue manager side of connection if using mq v8, or if earlier indicated if security exit being used.
also, said queue manager @ v7.5, since on z/os, can't be, assume therefore v7.1.
Comments
Post a Comment