DISPLAY MQI


Using this statement you can display the contents of a set (or sets) of variables created from a structure (or multiple structures) found in a IBM MQ message, in the BBI journal. The variable contents are displayed in character format and in hexadecimal format. This information could be useful for debugging when variable comparisons are not matching and you are not able to determine why.

Command

Parameters

IMFEXEC DISPLAY MQI

STRTYPE(structure Ids)

PREFIX(input prefix)

The following table describes the IMFEXEC DISPLAY MQI parameters.

Parameters

Function

Notes

STRTYPE

Identifies the structure variables to display.

This parameter is required.

Possible input values are as follows:

  • MD (Message Descriptor)
  • MDE (Message Descriptor Extension)
  • OD (Object Descriptor)
  • DLH (Dead Letter Header)
  • CIH (CICS Information Header)
  • IIH (IMS Information Header)
  • XQH (Transmission Queue Header)
  • TM (Trigger Monitor structure)
  • TMC (Trigger Monitor structure character format)
  • WIH (Work Information Header)
  • RMH (Reference Message Header)
  • CFH (Command Format Header)
  • RFH (Rules and Formatting Header)
  • RFH2 (Rules and Formatting Header - version 2)
  • EVEN (Event variables)
  • ALL (all known existing structures)

Multiple structures can be specified, delimited by blanks or commas. The variables IMFMQI_STRUCTURES or IMFQ_STRUCTURES can be used in place of individual entries. The IMFMQI_STRUCTURES variable is returned from an IMFEXEC MQI GET statement and contains a blank-delimited list of structures that exist within the message. The IMFQ_STRUCTURES variable is passed to an EXEC from a IBM MQ rule and contains a blank-delimited list of structures that exist within the message.

PREFIX

Specifies the prefix of the variables to display.

This parameter is not required.

If omitted, the default variable prefix is IMFMQI_.

The completion code is returned in the IMFCC variable. For additional information, see How-completion-and-reason-codes-are-returned.

The reason code is returned in the IMFMQRC and IMFRC variables; contents of both variables are the same. Refer to the IBM manual MQ Script (MQSC) Command Reference for the reason code description.

 

Tip: For faster searching, add an asterisk to the end of your partial query. Example: cert*