Home

 

Initial values and language declarations

Table 49. Initial values of fields in 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
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 listed above. It can be used in the following way to provide initial values for the fields in the structure:

    MQOD MyOD = {MQOD_DEFAULT};



 

Home