Message Sets: White space characters in TDS

White space characters are defined as ASCII characters (hexadecimal) 'X'09 to 'X'0D and EBCDIC characters 'X'05, 'X'0B, 'X'0C, 'X'0D, 'X'25, and 'X'40.

You can specify these characters in your message model using TDS mnemonics if they are important to your processing, for example, to use as group terminators or delimiting characters. See Message Sets: TDS Mnemonics for further information.

If both the following conditions are met, white space after the end of a group and preceding the tag of the next element is ignored:
  • TDS messaging standard property is "X12" or "EDIFACT"
  • TDS data element separation in force for the structure is one of the following types:
    • Tagged delimiter
    • Tagged fixed length
    • Tagged encoded length
The following bit stream is accepted:
Tag<data>!<Any white space character>Tag
where:
  • ! is the group terminator
  • <Any white space character> is one of the ASCII or EBCDIC characters listed previously
The following X12 ASCII message successfully parses:
ST*856*777777%<SPC><SPC><SPC><HEX 09>BSN*00*7654321*940920*10000%
The sequence
<SPC><SPC><SPC><HEX 09>
is ignored by the parser.