SrcNameOffset (MQLONG)

This field specifies the offset of the source object name from the start of the MQRMH structure. The source 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 source object name, the user-supplied message exit must identify the object to be accessed.

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

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

The initial value of this field is 0.

Parent topic: Fields for MQRMH