Display MQ Object Names (DSPMQMOBJN)

    Where allowed to run
    All environments (*ALL)

    Threadsafe
    Yes

The Display MQ Object Names (DSPMQMOBJN) command is used to provide the name, type, and fully-qualified file name for a specified MQ object.


Parameters

Keyword Description Choices Notes
OBJ Object name Character value, *ALL Required, Positional 1
OBJTYPE Object type *ALLMQM, *Q, *ALSQ, *LCLQ, *MDLQ, *RMTQ, *AUTHINFO, *CTLG, *CHL, *CLTCN, *SVC, *MQM, *NMLIST, *PRC, *LSR, *TOPIC Optional, Positional 2
OUTPUT Output *, *PRINT Optional, Positional 3
MQMNAME Message Queue Manager name Character value, *DFT Optional, Positional 4


Object name (OBJ)

>

Specifies the name of the objects for which the corresponding name, type and file name to display. It is a 48-character MQ object or generic object name.

The possible values are:

    *ALL
    All objects of the specified type (OBJTYPE) are displayed.

    generic-object-name
    Specify the generic name of the objects. A generic name is a character string followed by an asterisk (*). For example, ABC*. It selects all objects having names that start with the selected character string.

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

    We cannot select all the uppercase and lowercase versions of a generic name on a single panel, without requesting all the names.

    object-name
    The name of an object for which the corresponding name and type is to be displayed.


Object type (OBJTYPE)

>

Specifies the type of the objects to be displayed.

The possible values are:

    *ALLMQM
    All MQ Objects with names specified by OBJ.

    *Q
    All MQ queues with names specified by OBJ.

    *ALSQ
    All MQ alias queues with names specified by OBJ.

    *LCLQ
    All MQ local queues with names specified by OBJ.

    *MDLQ
    All MQ model queues with names specified by OBJ.

    *RMTQ
    All MQ remote queues with names specified by OBJ.

    *AUTHINFO
    All MQ authentication information objects with names specified by OBJ.

    *CHL
    All MQ channel objects with names specified by OBJ.

    *CLTCN
    All MQ MQI client connection channel objects with names specified by OBJ.

    *SVC
    All MQ service objects with names specified by OBJ.

    *LSR
    All MQ listener objects with names specified by OBJ.

    *CTLG
    The MQ queue manager catalog object with name specified by OBJ. This has the same name as the queue manager object.

    *MQM
    The Message Queue Manager object with name specified by OBJ.

    *NMLIST
    All MQ namelists with names specified by OBJ.

    *PRC
    All MQ process definitions with names specified by OBJ.

    *LOBJ
    All MQ listener objects with names specified by OBJ.

    *TOPIC
    All MQ topic objects with names specified by OBJ.


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 MQ queue manager for which object information is to displayed.

The possible values are:


Examples

>

None


Error messages

>

Unknown

Parent topic: CL commands reference for IBM i