Initial values and language declarations for MQRMH

Table 1. Initial values of fields in MQRMH for MQRMH
Field name Name of constant Value of constant
StrucId MQRMH_STRUC_ID 'RMH¬'
Version MQRMH_VERSION_1 1
StrucLength None 0
Encoding MQENC_NATIVE Depends on environment
CodedCharSetId MQCCSI_UNDEFINED 0
Format MQFMT_NONE Blanks
Flags MQRMHF_NOT_LAST 0
ObjectType None Blanks
ObjectInstanceId MQOII_NONE Nulls
SrcEnvLength None 0
SrcEnvOffset None 0
SrcNameLength None 0
SrcNameOffset None 0
DestEnvLength None 0
DestEnvOffset None 0
DestNameLength None 0
DestNameOffset None 0
DataLogicalLength None 0
DataLogicalOffset None 0
DataLogicalOffset2 None 0
Notes:
  1. The symbol ¬ represents a single blank character.
  2. In the C programming language, the macro variable MQRMH_DEFAULT contains the values that are listed in the table. Use it in the following way to provide initial values for the fields in the structure:
    
    MQRMH MyRMH = {MQRMH_DEFAULT};