Sunday, October 6, 2013

Display and Set MQ Authorizations in WebSphere

Got an issue wherein I need to set my Queue with these following permissions:
  • Put
  • Get
  • Inq
And as being new to WebSphere, I found that this is how to display and set authorizations in the WebSphere MQ. For example that queue manager name is TESTQM and queue name is TESTQUEUE.

Display Authorization
Syntax: dspmqaut [-m qmgrname] [-n objname] -t objtype [-p principal/ -g group] [-s service component]
Ex:

Set Authorization
Syntax:  setmqaut [-m qmgrname] [-n objname] -t objtype [-p principal/ -g group] [-s service component] [+/- authorization verb]
Ex:

UPDATE 07/10/2013
To remove authorization 'setid' in the manager queue :


Happy coding!

No comments:

Post a Comment