Page 2 of 10
+ Introduction
https://hursleyonwmq.wordpress.com/2007/06/13/administration-using-runmqsc-part-2/
Administration using runmqsc, part 2
June 13, 2007
In the previous post, we took a brief look at some of the things we can learn from the
queue manager using the DISPLAY command in runmqsc. It turns out that there is a lot of
information available. So, what if we want to filter the results to see something more
specific?
In WebSphere MQ version 6, the WHERE clause was introduced. This SQL-like expression
allows an administrator to select a subset of results from the output of the DISPLAY
command, based on the state of specific attributes.
DISPLAY display_cmd
WHERE( filter_keyword operator filter_value )
operator := [ LT | GT | EQ | NE | LE | GE | CT | EX | LK | NL | CTG | EXG ]
+ Reference:
https://www.ibm.com/docs/en/ibm-mq/9.2?topic=reference-display-queue-display-queue-attributes
IBM MQ / 9.2 / DISPLAY QUEUE (display queue attributes)
Section: Parameter descriptions for DISPLAY QUEUE
Parameter:
WHERE
Specify a filter condition to display only those 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.
Queues of a type for which the filter keyword is not a valid attribute are not displayed.
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