mqrc (MQ return code)
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, as well as specifying specific return codes or AMQ messages.Numeric arguments are interpreted as decimal if they start with a digit 1 - 9, or hex if prefixed with 0x.
Syntax
Parameters
- returnCode
- The return code to display
- AMQmessage
- The AMQ message to display
- symbol
- The symbol to display
- -a
- Try all severities to find message text
- -b
- Display messages without extended information
- -f first
- First number in a range
- -l last
- Last number in a range
- -m AMQmessage
- The AMQ message to list
- -M
- Display AMQ messages in a range
- -r returnCode
- The return code to display
- -R
- Display all return codes. If used with the -f and -l parameters, -R displays the return codes within a range.
- -s symbol
- The symbol to display
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