CodedCharSetId (MQLONG)

This is the character set identifier of the data that follows the arrays of MQOR and MQPMR records; it does not apply to character data in the MQDH structure itself.

On the MQPUT or MQPUT1 call, the application must set this field to the value appropriate to the data. We can use the following special value:

    MQCCSI_INHERIT
    Inherit character-set identifier of this structure.

    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 MQGET call does not return the value MQCCSI_INHERIT.

    We cannot use MQCCSI_INHERIT 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 MQDH