According to the ANSI X12.5 specifications (0004010):
" 4.3 Delimiter Specifications
The delimiters are the two levels of separators and a terminator. The
delimiters are devised for inclusion
within the data stream of the transfer. The levels are in relation to the
structure of the logical entities
delimited where the highest is for the larger, more complex structure. From
the highest to the lowest level,
the delimiters are:
� <tr> segment terminator
� <gs> data element separator
� <us> component element separator
The delimiters are assigned by the interchange sender. These characters are
disjoint from those of the
data elements; if a character is selected for the data element separator,
the component element separator
or the segment terminator from those available for the data elements, that
character is no longer available
during this interchange for use in a data element. The instance of the
terminator <tr> must be different
from the instance of the data element separator <gs> and the component
element separator <us>. The
data element separator and the component element separator must not have the
same character
assignment."

Bottom line is: if you (the sender) want to use a certain character in your
data, you can't use it as a delimiter.

Michael Mattias
Tal Systems
Racine WI USA
[EMAIL PROTECTED]

> -----Original Message----
> From: Samir Gulrajani [mailto:[EMAIL PROTECTED]]
> Sent: Sunday, December 17, 2000 9:15 PM
> To: [EMAIL PROTECTED]
> Subject: X12 method for escaping delimiters
>
>
> This is a bit of newbie question.  What is the correct
> way to send fields in X12 that have delimiter characters
> like '*' in the middle of them.  i.e. what's the proper
> way to escape these characters?
>

=======================================================================
To contact the list owner:  mailto:[EMAIL PROTECTED]
Archives at http://www.mail-archive.com/edi-l%40listserv.ucop.edu/

Reply via email to