StrucLength (MQLONG)
This is the length in bytes of the MQRFH2 structure, including the
NameValueLength
and NameValueData
fields at the end of the structure. It is valid for there to be multiple pairs of NameValueLength
and NameValueData
fields at the end of the structure, in the sequence:
length1, data1, length2, data2, ...
StrucLength
does not include any user data that might follow the last NameValueData
field at the end of the structure.
To avoid problems with converting the user data in some environments, StrucLength
must be a multiple of four.
The following constant gives the length of the fixed part of the structure, that is, the length excluding the
NameValueLength
and NameValueData
fields:- MQRFH_STRUC_LENGTH_FIXED_2
- Length of fixed part of MQRFH2 structure.
The initial value of this field is MQRFH_STRUC_LENGTH_FIXED_2.