|
[EDI-L Mailing List Archive Home]
[Message List]
[Reply To This Message]
RE: Re: [edi_gns] TURNAROUND

On Thu, 26 Aug 2004, Doug Anderson wrote:
> Or, if you are using a EC network (VAN) they should be able to solve
> this issue for all of your trading partners at one time. This is a
> great way to go especially if the trading partner wants their delimiters
> back (in which case the suggestion to call the trading partner does not
> work) or if the trading partner is the 800 lb gorilla. The VAN can
> change all inbound delimiters to your requirements and then turn the
> outbound delimiters into the ones that your trading partners want. One
> of the many Value Added Services that networks provide.
I suppose that's why they call us Value Added Networks! :) We do
character substitutions like these for our customers all the time.
>> No kidding. 'tr' will do the job fast. Of course, calling your
>> trading partner and asking them to adjust your delimiter would be even
I love all of the UNIX tr/sed/awk/Perl things, as well; however,
translating segment/element/sub-element separators on the fly with those
tools isn't as easy as it may seem at first. In addition to the
requirement of knowing how to use these tools, I've found that it's
important to make sure that the separator you want to use isn't nested
somewhere else in your data. Otherwise, the data won't be any good.
For example, if you're changing all your segment terminators to an
apostrophe, and if there's an apostrophe somewhere in the data already
(possibly in a text field, for example), things won't quite jive.
We process EDI data on the fly and actually distinguish segments when
substituting separators; however, I suppose a simple `grep` for to check
for existing characters of the kind you want to substitute would work.
Hope this might be somewhat informative and helpful.
-- _
__ __ ___ _| | William R. Lorenz <
\ V V / '_| | EC/EDI, Ltd. <http://www.ecediltd.com/>
\./\./|_| |_| EDI Outsourcing; VAN Services; B2B E-Commerce
|
 |
Subscribe in XML format
| RSS 2.0 |
|
| Atom 0.3 |
|
|