Initial values and language declarations for MQMDE

Field name Name of constant Value of constant
StrucId MQMDE_STRUC_ID 'MDE¬'
Version MQMDE_VERSION_2 2
StrucLength MQMDE_LENGTH_2 72
Encoding MQENC_NATIVE Depends on environment
CodedCharSetId MQCCSI_UNDEFINED 0
Format MQFMT_NONE Blanks
Flags MQMDEF_NONE 0
GroupId MQGI_NONE Nulls
MsgSeqNumber None 1
Offset None 0
MsgFlags MQMF_NONE 0
OriginalLength MQOL_UNDEFINED -1
Notes:
  1. The symbol ¬ represents a single blank character.
  2. In the C programming language, the macro variable MQMDE_DEFAULT contains the values that are listed in the table. It can be used in the following way to provide initial values for the fields in the structure:
    MQMDE MyMDE = {MQMDE_DEFAULT};
    

Parent topic: MQMDE - Message descriptor extension