Home

 

Initial values and language declarations

Table 68. Initial values of fields in MQTMC2
Field name Name of constant Value of constant
StrucId MQTMC_STRUC_ID

'TMC '

Version MQTMC_VERSION_2

'   2'

QName None Null string or blanks
ProcessName None Null string or blanks
TriggerData None Null string or blanks
ApplType None Blanks
ApplId None Null string or blanks
EnvData None Null string or blanks
UserData None Null string or blanks
QMgrName 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 MQTMC2_DEFAULT contains the values listed above. Use it in the following way to provide initial values for the fields in the structure:

    MQTMC2 MyTMC = {MQTMC2_DEFAULT};



 

Home