Home

 

Initial values and language declarations

Table 58. Initial values of fields in MQRFH2
Field name Name of constant Value of constant
StrucId MQRFH_STRUC_ID

'RFH '

Version MQRFH_VERSION_2

2

StrucLength MQRFH_STRUC_LENGTH_FIXED_2

36

Encoding MQENC_NATIVE Depends on environment
CodedCharSetId MQCCSI_INHERIT

-2

Format MQFMT_NONE Blanks
Flags MQRFH_NONE

0

NameValueCCSID None

1208

Notes:

  1. The symbol   represents a single blank character.

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

    MQRFH2 MyRFH2 = {MQRFH2_DEFAULT};



 

Home