Broker 10.5 | webMethods Broker Documentation | webMethods Broker Client C API Programmer's Guide | API Reference | awSet | awSetSequenceFieldSize
 
awSetSequenceFieldSize
BrokerError awSetSequenceFieldSize(
BrokerEvent event,
char *field_name,
int size);
event
The event whose sequence field size is to be set.
field_name
Name of the event sequence field.
size
The number of elements in the sequence.
Sets the size of the sequence field field_name. See Specifying Field Names for complete information on specifying field_name.
Possible BrokerError major codes
Meaning
AW_ERROR_FIELD_NOT_FOUND
The event is associated with a Broker client and field_name does not exist in the event.
AW_ERROR_FIELD_TYPE_MISMATCH
The field's type does not match the type of value or the field_name incorrectly accesses a type.
AW_ERROR_INVALID_EVENT
The event is invalid.
AW_ERROR_INVALID_FIELD_NAME
The field_name is invalid.
AW_ERROR_NULL_PARAM
The parameter field_name is NULL.
AW_ERROR_OUT_OF_RANGE
The size is less than zero.
See also: