Home

 

Initial values and language declarations

Table 70. Initial values of fields in MQWIH
Field name Name of constant Value of constant
StrucId MQWIH_STRUC_ID

'WIH '

Version MQWIH_VERSION_1

1

StrucLength MQWIH_LENGTH_1

120

Encoding None

0

CodedCharSetId MQCCSI_UNDEFINED

0

Format MQFMT_NONE Blanks
Flags MQWIH_NONE

0

ServiceName None Blanks
ServiceStep None Blanks
MsgToken MQMTOK_NONE Nulls
Reserved None Blanks
Notes:

  1. The symbol   represents a single blank character.

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

    MQWIH MyWIH = {MQWIH_DEFAULT};



 

Home