CorrelationIdHex property

Read-write. The CorrelationId to be included in the MQMD of a message when put on a queue, also the CorrelationId to be matched against when getting a message from a queue.

Every two characters of the string represent the hexadecimal equivalent of a single ASCII character. For example, the pair of characters "6" and "1" represent the single character "A", the pair of characters "6" and "2" represent the single character "B", and so on.

You must supply 48 valid hexadecimal characters.

Its initial value is "0...0".

Defined in: MQMessage class

Data Type: String of 48 hexadecimal characters representing 24 ASCII characters

Syntax:
To get: correlidh$ = MQMessage.CorrelationIdHex

To set: MQMessage.CorrelationIdHex = correlidh$

Note:
See Message Descriptor properties for a discussion of when use CorrelationIdHex in place of the CorrelationId property.