Home

 

Initial values and language declarations

Table 25. Initial values of fields in MQCIH
Field name Name of constant Value of constant
StrucId MQCIH_STRUC_ID

'CIH '

Version MQCIH_VERSION_2

2

StrucLength MQCIH_LENGTH_2

180

Encoding None

0

CodedCharSetId None

0

Format MQFMT_NONE Blanks
Flags MQCIH_NONE

0

ReturnCode MQCRC_OK

0

CompCode MQCC_OK

0

Reason MQRC_NONE

0

UOWControl MQCUOWC_ONLY

273

GetWaitInterval MQCGWI_DEFAULT

-2

LinkType MQCLT_PROGRAM

1

OutputDataLength MQCODL_AS_INPUT

-1

FacilityKeepTime None

0

ADSDescriptor MQCADSD_NONE

0

ConversationalTask MQCCT_NO

0

TaskEndStatus MQCTES_NOSYNC

0

Facility MQCFAC_NONE Nulls
Function MQCFUNC_NONE Blanks
AbendCode None Blanks
Authenticator None Blanks
Reserved1 None Blanks
ReplyToFormat MQFMT_NONE Blanks
RemoteSysId None Blanks
RemoteTransId None Blanks
TransactionId None Blanks
FacilityLike None Blanks
AttentionId None Blanks
StartCode MQCSC_NONE Blanks
CancelCode None Blanks
NextTransactionId None Blanks
Reserved2 None Blanks
Reserved3 None Blanks
CursorPosition None

0

ErrorOffset None

0

InputItem None

0

Reserved4 None

0

Notes:

  1. The symbol   represents a single blank character.

  2. In the C programming language, the macro variable MQCIH_DEFAULT contains the values listed above. Use it in the following way to provide initial values for the fields in the structure:

    MQCIH MyCIH = {MQCIH_DEFAULT};



 

Home