Rules and formatting header variables version 2 - EXECs


The following table lists the Rules and formatting header variables version 2 - EXECs:

Related topic


Variable name

Notes

Important

This list may not be complete, because IBM may have added new constants since the printing of this topic. For a more complete list, see the IBM documentation MQ Application Programming Reference.

IMFMQI_RFH2_STRUCID

Contains MQRFH_STRUC_ID

IMFMQI_RFH2_VERSION_2

Contains MQRFH_VERSION_2

IMFMQI_RFH2_STRUCLENGTH

Contains decimal data

IMFMQI_RFH2_ENCODING

Contains decimal data or MQENC_NATIVE

IMFMQI_RFH2_CODEDCHARSETID

Contains decimal data

IMFMQI_RFH2_FORMAT

Contains one of the following format constants:

  • MQFMT_NONE
  • MQFMT_ADMIN
  • MQFMT_CHANNEL_COMPLETED
  • MQFMT_CICS
  • MQFMT_COMMAND_1
  • MQFMT_COMMAND_2
  • MQFMT_DEAD_LETTER_HEADER
  • MQFMT_EVENT
  • MQFMT_IMS
  • MQFMT_IMS_VAR_STRING
  • MQFMT_MD_EXTENSION
  • MQFMT_PCF
  • MQFMT_REF_MSG_HEADER
  • MQFMT_STRING
  • MQFMT_TRIGGER
  • MQFMT_WORK_INFO_HEADER
  • MQFMT_XMIT_Q_HEADER
  • MQFMT_RF_HEADER
  • MQFMT_RF_HEADER_2

IMFMQI_RFH2_FLAGS

Contains the following character string delimited by blanks: MQRFH_NONE

See note at the beginning of this table.

IMFMQI_RFH2_NAMEVALUECCSID

Contains decimal data

IMFMQI_RFH2_NAMEVALUEDATA

Contains a character string that is the length of IMFQ_RFH2_STRUCLENGTH minus the constant value MQRFH_STRUC_LENGTH_FIXED_2.

Up to 512 bytes are accessible. If more than that is needed in an EXEC the user can get the data from the buffer (IMFQ_BUFFER), which can be up to 16 Megabytes long.

 

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