[IBM i]

WRKMQMAUT (Work with MQ Authority)

Where allowed to run
All environments (*ALL)
Threadsafe
Yes

The Work with MQ Authority (WRKMQMAUT) displays a list of all the authority profile names and their types, which match the specified parameters. This enables you to delete, work with and create the authority records for an MQM authority profile record.

Parameters

Table 1. Command parameters
Keyword Description Choices Notes
OBJ Object/Profile name Character value, *ALL Optional, Positional 1
OBJTYPE Object type *Q, *PRC, *MQM, *NMLIST, *AUTHINFO, *LSR, *SVC, *CHL, *CLTCN, *ALL, *TOPIC, *RMTMQMNAME Optional, Positional 2
OUTPUT Output *, *PRINT Optional, Positional 3
MQMNAME Message Queue Manager name Character value, *DFT Optional, Positional 4
SRVCOMP Service Component name Character value, *DFT Optional, Positional 5

Object name (OBJ)

Specify the object name or authority profile name of the object to select.

The possible values are:

*ALL
All authority records matching the specified object type are listed. *ALL cannot represent a generic profile.
object-name
Specify the name of an MQ object; all authority records for which the object name or generic profile name match this object name are selected.
generic profile
Specify the generic profile of an MQ object; only the authority record which exactly matches the generic profile is selected. A generic profile is a character string containing one or more generic characters anywhere in the string. The generic characters are (?), (*) and (**).

You are recommended to specify the name required within quotation marks. Using this format ensures that your selection is precisely what you entered.

Object type (OBJTYPE)

Specifies the object type of the authority profile to select.

*ALL
All MQ object types.
*Q
All queue object types.
*AUTHINFO
Authentication Information object.
*MQM
Message Queue Manager.
*NMLIST
Namelist object.
*PRC
Process definition.
*CHL
Channel object.
*CLTCN
Client Connection Channel object.
*LSR
Listener object.
*SVC
Service object.
*TOPIC
Topic object.
*RMTMQMNAME
Remote queue manager name.

Output (OUTPUT)

Specifies whether the output from the command is shown at the requesting workstation, or printed with the job's spooled output.

The possible values are:

*
Output requested by an interactive job is shown on the display. Output requested by a batch job is printed with the job's spooled output.
*PRINT
A detailed list of the users and their authorities registered with the selected authority profile record is printed with the job's spooled output.

Message Queue Manager name (MQMNAME)

Specifies the name of the queue manager.

*DFT
Use the default queue manager.
queue-manager-name
Specify the name of the queue manager.

Service Component name (SRVCOMP)

Specify the name of the installed authorization service in which to search for the authorities to display.

The possible values are:

*DFT
All installed authorization components are searched for the specified authority profile name and object type.
Authorization-service-component-name
The component name of the authorization service as specified in the Queue manager's qm.ini file.