Home

 

Initial values and language declarations

Table 33. Initial values of fields in MQDLH
Field name Name of constant Value of constant
StrucId MQDLH_STRUC_ID

'DLH '

Version MQDLH_VERSION_1

1

Reason MQRC_NONE

0

DestQName None Null string or blanks
DestQMgrName None Null string or blanks
Encoding None

0

CodedCharSetId MQCCSI_UNDEFINED

0

Format MQFMT_NONE Blanks
PutApplType None

0

PutApplName None Null string or blanks
PutDate None Null string or blanks
PutTime 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 MQDLH_DEFAULT contains the values listed above. Use it in the following way to provide initial values for the fields in the structure:

    MQDLH MyDLH = {MQDLH_DEFAULT};



 

Home