mqrc
Display information about return codes.
Purpose
You can use the mqrc command to display information about symbols, return codes, and AMQ messages. You can specify a range of return codes or AMQ messages, or you can specify specific return codes or AMQ messages.
Syntax
Parameters
- returnCode
- Specifies the return code to display.
- AMQmessage
- Specifies the AMQ message to display.
- symbol
- Specifies the symbol to display.
- -a
- Specifies that all severities are tried to find message text.
- -b
- Specifies that messages are displayed without extended information.
- -m AMQmessage
- Specifies the AMQ message to display.
- -M -f first -l last
- Specifies that AMQ messages in a range are displayed from the first value to the last value.
- -r returnCode
- Specifies the return code to display
- -R
- Specifies that all return codes are displayed.
- -R -f first -l last
- Specifies that return codes in a range are displayed from the first value to the last value.
- -s symbol
- Specifies the symbol to display
Usage notes
- This command must be run from the IBM® MQ administration mode. If the system is in the IBM MQ administration mode the prompt includes
mqa(mqcli)#. To enter the IBM MQ administration mode, entermqclion the command line. To exit the IBM MQ administration mode, enterexiton the command line. - Numeric arguments are interpreted as decimal if they start with a digit 1 - 9, or hex if prefixed with 0x.
- If there is a problem with a message within a range, an indication is displayed before the
message text.
?is displayed if there are no matching return codes for the message.!is displayed if the message severity is not the same as the return code severity. - For more information about this command in IBM MQ, see mqrc in the IBM MQ documentation.
Examples
- This command displays AMQ message 5005:
mqrc AMQ5005 - This command displays return codes in the range 2505 -
2530:
mqrc -R -f 2505 -l 2530
