MQeFieldsGet - Mode 1: length retrieval

To get the length of a field in a message, call the MQeFieldsGet API passing a pointer to the memory which will receive the data as a NULL pointer. The length of the field is passed back as the return value from the call.

The length of the field is the number of elements of the field datatype. this is not the same as the number of bytes. For example, for a field that has a single element of datatype MQE_TYPE_INT, this call returns a field length of '1'.



© IBM Corporation 2002. All Rights Reserved