Message Sets: CWF properties for element reference and local element Boolean types
The CWF wire format properties for element reference and local element Boolean types.
The Custom Wire Format properties described here apply to:
- Objects: Element Reference, Local Element
- Boolean schema types: Boolean
Byte alignment
Property | Type | Meaning |
---|---|---|
Byte Alignment | Enumerated type | Specify how the object is aligned from the start
of the message. Select one of:
|
Leading Skip Count | Integer | Specify the number of bytes to skip before reading
or writing this object. The default is 0, the minimum value is 0, and the maximum value
is 999999.
You can use this value to ignore unwanted fields in a structure, or
to model a field defined by C or COBOL data which requires alignment
on a 2, 4, 8 or 16 byte boundary. Specify the number of bytes to skip
before reading or writing this object. When an output message is written,
Skip Count bytes are assigned the value of the message set Byte Alignment
Pad property. For repeating objects, this property is applied to the first instance only. |
Trailing Skip Count | Integer | Specify the number of bytes to skip after reading
or writing this object. The default is 0, the minimum value is 0, and the maximum value
is 999999.
You can use this value to ignore unwanted fields in a structure, or
to model a repeating structure containing fields which require alignment
on a 2, 4, 8 or 16 byte boundary. When an output message is written,
Skip Count bytes are assigned the value of the message set Byte Alignment
Pad property. For repeating objects, this property is applied to all instances. |
Occurrences
Property | Type | Meaning |
---|---|---|
Repeat Reference | Enumerated type | Use this property if the object occurs multiple
times, and the number of occurrences is given dynamically by a field
earlier in the message. Select an integer object from the displayed
list of integer objects that occur before this object in the structure
of the message. The value of the selected integer specifies the number
of occurrences of this object. If no objects are listed, there are
no integer objects before this one in the message structure. If a Repeat Reference is specified, it overrides any setting for the Max Occurs logical property when parsing and writing the message, but not for validation of the message. |