CodedCharSetId (MQLONG)

This specifies the character set identifier of the data that follows the MQMDE structure; it does not apply to character data in the MQMDE structure itself.

On the MQPUT or MQPUT1 call, the application must set this field to the value appropriate to the data. The queue manager does not check that this field is valid. The following special value can be used:

    MQCCSI_INHERIT
    Character data in the data following this structure is in the same character set as this structure.

    The queue manager changes this value in the structure sent in the message to the actual character-set identifier of the structure. Provided no error occurs, the value MQCCSI_INHERIT is not returned by the MQGET call.

    MQCCSI_INHERIT cannot be used if the value of the PutApplType field in MQMD is MQAT_BROKER.

    This value is supported in the following environments:

    • AIX
    • IBM i
    • Linux
    • Windows

    and for IBM MQ clients connected to these systems.

The initial value of this field is MQCCSI_UNDEFINED.

Parent topic: Fields for MQMDE