Initial values and language declarations for MQOD

Field name Name of constant Value of constant
StrucId MQOD_STRUC_ID 'OD¬¬'
Version MQOD_VERSION_1 1
ObjectType MQOT_Q 1
ObjectName None Null string or blanks
ObjectQMgrName None Null string or blanks
DynamicQName None 'CSQ.*' on z/OS ; 'AMQ.*' otherwise
AlternateUserId None Null string or blanks
RecsPresent None 0
KnownDestCount None 0
UnknownDestCount None 0
InvalidDestCount None 0
ObjectRecOffset None 0
ResponseRecOffset None 0
ObjectRecPtr None Null pointer or null bytes
ResponseRecPtr None Null pointer or null bytes
AlternateSecurityId MQSID_NONE Nulls
ResolvedQName None Null string or blanks
ResolvedQMgrName None Null string or blanks
ObjectString MQCHARV_DEFAULT As defined for MQCHARV
SelectionString MQCHARV_DEFAULT As defined for MQCHARV
ResObjectString MQCHARV_DEFAULT As defined for MQCHARV
ResolvedType MQOT_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 MQOD_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:
    MQOD MyOD = {MQOD_DEFAULT};
    

Parent topic: MQOD - Object descriptor