Data Transformation Engine Type Designer Reference Guide
Chapter 5 - Item Properties Syntax Item Subclass Properties
Each message is made up of segments. Each department uses different segment
delimiters and terminators. The message format specifies that the delimiter and
terminator are the first two bytes of the message, followed by the actual data. The
data from one department is:
*
ABC123*35*EA
XYZ987*452*PC
While the data from another department is:
^%ABC123^35^EA%XYZ987^452^PC%
To define syntax objects for the delimiter and terminator
1 Define two separate syntax objects with an Item Subclass of Syntax, one for
the message delimiter and one for the message terminator. Appropriate type
names might be SegmentDelimiter and SegmentTerminator.
2 Define the possible message delimiter values as restrictions of the
SegmentDelimiter item type. Define the possible message terminator values
as restrictions of the SegmentTerminator item type.
3 Define these item types as the first two components of the group type
Message.
Delimite
r
Terminato
r
Delimite
r
Terminator(CR/LF)