Home

 

Parameter descriptions

 

You must specify the name of the queue for which you want to display status information. This can be a specific queue name or a generic queue name. By using a generic queue name we can display either:

You must also specify whether you want status information about:

We cannot use the DISPLAY QSTATUS command to display the status of an alias queue or remote queue. If you specify the name of one of these types of queue, no data is returned. We can, however, specify the name of the local queue or transmission queue to which the alias queue or remote queue resolves.

(generic-qname)

The name of the queue for which status information is to be displayed. A trailing asterisk (*) matches all queues with the specified stem followed by zero or more characters. An asterisk (*) on its own matches all queues.

WHERE

Specify a filter condition to display status information for queues that satisfy the selection criterion of the filter condition. The filter condition is in three parts: filter-keyword, operator, and filter-value:

filter-keyword

Almost any parameter that can be used to display attributes for this DISPLAY command. However, we cannot use the CMDSCOPE, MONITOR, OPENTYPE, QSGDISP, QTIME, TYPE, or URID parameters as filter keywords.

operator

This is used to determine whether a queue satisfies the filter value on the given filter keyword. The operators are:

LT

Less than

GT

Greater than

EQ

Equal to

NE

Not equal to

LE

Less than or equal to

GE

Greater than or equal to

LK

Matches a generic string that you provide as a filter-value

NL

Does not match a generic string that you provide as a filter-value

CT

Contains a specified item. If the filter-keyword is a list, we can use this to display objects the attributes of which contain the specified item.

EX

Does not contain a specified item. If the filter-keyword is a list, we can use this to display objects the attributes of which do not contain the specified item.

filter-value

The value that the attribute value must be tested against using the operator. Depending on the filter-keyword, this can be:

  • An explicit value, that is a valid value for the attribute being tested.

    You can use operators LT, GT, EQ, NE, LE or GE only. However, if the attribute value is one from a possible set of values on a parameter (for example, the value NO on the UNCOM parameter), we can only use EQ or NE.

  • A generic value. This is a character string (such as the character string in the APPLTAG parameter) with an asterisk at the end, for example ABC*. If the operator is LK, all items where the attribute value begins with the string (ABC in the example) are listed. If the operator is NL, all items where the attribute value does not begin with the string are listed.

    We cannot use a generic filter-value for parameters with numeric values or with one of a set of values.

  • An item in a list of values. The operator must be CT or EX. If it is a character value, it can be explicit or generic. For example, if the value DEF is specified with the operator CT, all items where one of the attribute values is DEF are listed. If ABC* is specified, all items where one of the attribute values begins with ABC are listed.

ALL

Display all the status information for each specified queue.

This is the default if you do not specify a generic name, and do not request any specific parameters.

On z/OS this is also the default if you specify a filter condition using the WHERE parameter, but on other platforms only requested attributes are displayed.

CMDSCOPE

This parameter specifies how the command is executed when the queue manager is a member of a queue-sharing group. It is valid on z/OS only.

‘ ’

The command is executed on the queue manager on which it was entered. This is the default value.

qmgr-name

The command is executed on the queue manager you specify, providing the queue manager is active within the queue-sharing group.

We can specify a queue manager name, other than the queue manager on which the command was entered, only if you are using a queue-sharing group environment and if the command server is enabled.

*

The command is executed on the local queue manager and is also passed to every active queue manager in the queue-sharing group. The effect of this is the same as entering the command on every queue manager in the queue-sharing group.

We cannot use CMDSCOPE as a filter keyword.

MONITOR

Specify this to return the set of online monitoring parameters. These are LGETDATE, LGETTIME, LPUTDATE, LPUTTIME, MONQ, MSGAGE, and QTIME. If you specify this parameter, any of the monitoring parameters that you request specifically have no effect; all monitoring parameters are still displayed.

OPENTYPE

Restricts the queues selected to those that have handles with the specified type of access:

ALL

Selects queues that are open with any type of access. This is the default if the OPENTYPE parameter is not specified.

INPUT

Selects queues that are open for input only. This option does not select queues that are open for browse.

OUTPUT

Selects queues that are open only for output.

The OPENTYPE parameter is valid only if TYPE(HANDLE) is also specified.

We cannot use OPENTYPE as a filter keyword.

TYPE

Specifies the type of status information required:

QUEUE

Status information relating to queues is displayed. This is the default if the TYPE parameter is not specified.

HANDLE

Status information relating to the handles that are accessing the queues is displayed.

We cannot use TYPE as a filter keyword.

 

Parent topic:

DISPLAY QSTATUS


sc12270_


 

Home