Display MQ Object Authority (DSPMQMAUT)

    Where allowed to run
    All environments (*ALL)

    Threadsafe
    Yes

The Display MQ Authority (DSPMQMAUT) command shows, for the specified object, the current authorizations to the object. If a user ID is a member of more than one group, this command displays the combined authorizations of all of the groups.

  • The 48-character MQ object name
  • The MQ object type
  • Authorizations for object, context and MQI calls


Parameters

Keyword Description Choices Notes
OBJ Object name Character value Required, Positional 1
OBJTYPE Object type *Q, *ALSQ, *LCLQ, *MDLQ, *RMTQ, *AUTHINFO, *MQM, *NMLIST, *PRC, *LSR, *SVC, *CHL, *CLTCN, *TOPIC, *RMTMQMNAME Required, Positional 2
USER User name Name, *PUBLIC Optional, Positional 3
OUTPUT Output *, *PRINT Optional, Positional 4
MQMNAME Message Queue Manager name Character value, *DFT Optional, Positional 5
SRVCOMP Service Component name Character value, *DFT Optional, Positional 6


Object name (OBJ)

Specifies the name of the MQ object for which the authorizations are displayed.


Object type (OBJTYPE)

Specifies the type of the object for which the authorizations are displayed.

    *Q
    All queue object types.

    *ALSQ
    Alias queue.

    *LCLQ
    Local queue.

    *MDLQ
    Model queue.

    *RMTQ
    Remote queue.

    *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.


User name (USER)

Specifies the name of the user for whom authorities for the named object are displayed.

The possible values are:

    *PUBLIC
    All users of the system.

    user-profile-name
    Specify the name of the user.


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
    The output 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)

Specifies the name of the installed authorization service in which to search for the authority to display.

The possible values are:

    *DFT
    All installed authorization components are searched for the specified object name, object type and user.

    Authorization-service-component-name
    The component name of the required authorization service as specified in the Queue manager's qm.ini file.


Examples

None


Error messages

Unknown