DestNameOffset (MQLONG)

This field specifies the offset of the destination object name from the start of the MQRMH structure. The destination object name can be specified by the creator of the reference message, if that data is known to the creator. However, if the creator does not know the destination object name, it is the responsibility of the user-supplied message exit to identify the object to be created or modified.

The length of the destination object name is given by DestNameLength ; if this length is zero, there is no destination object name, and DestNameOffset is ignored. If present, the destination object name must reside completely within StrucLength bytes from the start of the structure.

Applications must not assume that the destination object name is contiguous with any of the data addressed by the SrcEnvOffset, SrcNameOffset, and DestEnvOffset fields.

The initial value of this field is 0.

Parent topic: Fields for MQRMH