Granting full administrative access to some queues

Grant full administrative access to some queues on a queue manager, to each group of users with a business need for it.

About this task

To grant full administrative access to some queues, use the appropriate commands for your operating system.
On the following platforms, you can also use the SET AUTHREC command:
  • [IBM i]IBM® i
  • [Linux]Linux®
  • [UNIX]UNIX
  • [IBM i]Windows
[MQ Appliance]Note: On IBM MQ Appliance you can use only the SET AUTHREC command.

Procedure

  • [UNIX, Linux, Windows] On UNIX, Linux, and Windows:
    
    setmqaut -m QMgrName -n ObjectProfile -t queue -g GroupName +alladm
    
  • [IBM i] On IBM i:
    
    GRTMQMAUT OBJ(' ObjectProfile ') OBJTYPE(*Q) USER(GroupName) AUT(*ALLADM) MQMNAME(' QMgrName ')
    
  • [z/OS] On z/OS®:
    
    RDEFINE MQADMIN QMgrName.QUEUE. ObjectProfile UACC(NONE)
    PERMIT QMgrName.QUEUE. ObjectProfile CLASS(MQADMIN) ID(GroupName) ACCESS(ALTER)
    
    The variable names have the following meanings:
    QMgrName
    The name of the queue manager.

    [z/OS]On z/OS, this value can also be the name of a queue sharing group.

    ObjectProfile
    The name of the object or generic profile for which to change authorizations.
    GroupName
    The name of the group to be granted access.