|
[EDI-L Mailing List Archive Home]
[Message List]
[Reply To This Message]
Re: Re: Example documents containing a BIN segment

----- Original Message -----
From: edi_meister <
To: <
Sent: Friday, March 01, 2002 12:34 PM
Subject: [EDI-L] Re: Example documents containing a BIN segment
> I have never seen BIN used in X12, and it makes me wonder about a very
> important question: does it work?
>
> VANs often change the separator characters in transit (or
> interconnect). This is really horrible because you might have used
> certain chars in your data, and expressely not used them as
> separators. But the receiving VAN might just jam whatever separators
> they want in there.
>
> What happens if some of those chars appear in your BIN segment?
This is not a sample document as requested, but these characters cannot appear
in the BIN segment. According to" RELEASE 004010 X12.6 APPLICATION CONTROL
STRUCTURE:"
3.5.1.7 Binary
The binary data element is any sequence of octets ranging in value from binary
00000000 to binary 11111111. This data element type has no defined maximum
length. Actual length is specified by the immediately preceding data element.
The binary data element type may only exist in the Binary segment
(see Section 3.11). The representation for this data element type is B.
<binary> ::= <octet> {<octet>}
<octet> ::= "00000000" | ... | "11111111"
That is, the BIN02 data element consists only of the characters "1" and "0"
While I "suppose" you could use "1" or "0" as separator/teminator characters, I
personally would not consider this a real good idea.
Michael Mattias
Tal Systems, Inc.
Racine WI
|
 |
Subscribe in XML format
| RSS 2.0 |
|
| Atom 0.3 |
|
|