Initial values and language declarations for MQGMO

Table 1. Initial values of fields in MQGMO for MQGMO
Field name Name of constant Value of constant
StrucId MQGMO_STRUC_ID 'GMO¬'
Version MQGMO_VERSION_1 1
Options MQGMO_NO_WAIT 0
WaitInterval None 0
Signal1 None Null pointer on z/OS® ; 0 otherwise
Signal2 None 0
ResolvedQName None Null string or blanks
MatchOptions MQMO_MATCH_MSG_ID + MQMO_MATCH_CORREL_ID 3
GroupStatus MQGS_NOT_IN_GROUP '¬'
SegmentStatus MQSS_NOT_A_SEGMENT '¬'
Segmentation MQSEG_INHIBITED '¬'
Reserved1 None '¬'
MsgToken MQMTOK_NONE Nulls
ReturnedLength MQRL_UNDEFINED -1
Reserved2 None '¬'
MsgHandle MQHM_NONE 0
Notes:
  1. The symbol ¬ represents a single blank character.
  2. The value Null string or blanks denotes the null string in C, and blank characters in other programming languages.
  3. In the C programming language, the macro variable MQGMO_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:
    
    MQGMO MyGMO = {MQGMO_DEFAULT};