Home

 

Initial values and language declarations

Table 55. Initial values of fields in MQPMO
Field name Name of constant Value of constant
StrucId MQPMO_STRUC_ID

'PMO '

Version MQPMO_VERSION_1

1

Options MQPMO_NONE

0

Timeout None

-1

Context None

0

KnownDestCount None

0

UnknownDestCount None

0

InvalidDestCount None

0

ResolvedQName None Null string or blanks
ResolvedQMgrName None Null string or blanks
RecsPresent None

0

PutMsgRecFields MQPMRF_NONE

0

PutMsgRecOffset None

0

ResponseRecOffset None

0

PutMsgRecPtr None Null pointer or null bytes
ResponseRecPtr None Null pointer or null bytes
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 MQPMO_DEFAULT contains the values listed above. Use it in the following way to provide initial values for the fields in the structure:

    MQPMO MyPMO = {MQPMO_DEFAULT};



 

Home