#include <hmq.h> MQEHFIELDS MQeFieldsAlloc( MQEHSESS hSess, MQECHAR * Type, MQEINT32 * pCompCode, MQEINT32 * pReason)
A non-recognized type string defaults to the base field object type with its type string set to the input type string.
#include <hmq.h> static static MQECHAR const * FieldsType = "com.ibm.mqe.MQeFields"; MQEHSESS hSess; MQEINT32 compcode; MQEINT32 reason; MQEHFIELDS hFlds; hSess = MQeInitialize("MyAppsName", &compcode, &reason); hFlds = MQeFieldsAlloc( hSess, FieldsType, &compcode, &reason);