Home

 

Initial values and language declarations

Table 31. Initial values of fields in MQDH
Field name Name of constant Value of constant
StrucId MQDH_STRUC_ID

'DH  '

Version MQDH_VERSION_1

1

StrucLength None

0

Encoding None

0

CodedCharSetId MQCCSI_UNDEFINED

0

Format MQFMT_NONE Blanks
Flags MQDHF_NONE

0

PutMsgRecFields MQPMRF_NONE

0

RecsPresent None

0

ObjectRecOffset None

0

PutMsgRecOffset None

0

Notes:

  1. The symbol   represents a single blank character.

  2. In the C programming language, the macro variable MQDH_DEFAULT contains the values listed above. Use it in the following way to provide initial values for the fields in the structure:

    MQDH MyDH = {MQDH_DEFAULT};



 

Home