The MQeField structure descriptor holds information about a field to be
added to or retrieved from an MQeFields object using the MQeFieldsPutByStruct and MQeFieldsGetByStruct APIs.
typedef struct MQeFieldStructDescriptor_st {
PMQECHAR sd_name; /* Pointer to the field name */
MQEINT32 sd_namelen; /* Length of field name */
MQEBYTE sd_datatype; /* Type of field */
MQEBYTE sd_flags; /* flags describing field layout in struct */
MQEINT32 sd_dataoff; /* data offset in struct */
MQEINT32 sd_datalen; /* (offset of) data length for field */
} MQEFIELDDESC;
- PMQECHAR sd_name
- A pointer to the null terminated string name of the field.
Application programs should use the following guidelines for field
names:
- At least 1 character long.
- Conform the ASCII character set, (characters with values between 20 and
128)
- Should not include any of the characters
{}[]#():;,'=
- MQEINT32 sd_namelen
- The length of the sd_name.
- MQEBYTE sd_datatype
- The data type of the field data.
- MQEBYTE * sd_flags
- Flags that describe the type of data to put or get. See MQeField Structure Descriptor Flags
- MQEINT32 sd_dataoff
- The offset of the element to get or put.
- MQEBYTE * sd_datalen
- The length of the element to get or put.
© IBM Corporation 2002. All Rights Reserved