× The internal search function is temporarily non-functional. The current search engine is no longer viable and we are researching alternatives.
As a stop gap measure, we are using Google's custom search engine service.
If you know of an easy to use, open source, search engine ... please contact support@midrange.com.



Art,

Tilde is pretty standard for X12 actually there are three common delimiters ":" for sub-elements (like subfields in a structure), "*" for elements (fields) and ~ for segments (records). Those are the ones I've seen used, although theoretically you can specify any delimiters you wish to use when you write the envelope, as long as they don't also exist in the data.

At 13:13 04/09/2003, Art Tostaine wrote:
In our case, they were able to use only one record delimiter,  Tilde, or
CR or LF.  They claim that  this is the "EDI Standard".  I think it has
to do with them FTP'ing their EDI file to us instead of it going through
a mailbox or something.  Maybe Carl Galgano knows the answer to that
one.

Anyhow, I wrote a program to read the file from the IFS and write the
record to a QSYS.LIB file every time I got a tilde.

It was pretty simple after all.

Art Tostaine, Jr.
CCA, Inc.
Jackson, NJ 08527


-----Original Message----- From: midrange-l-bounces@xxxxxxxxxxxx [mailto:midrange-l-bounces@xxxxxxxxxxxx] On Behalf Of Richard B Baird Sent: Wednesday, April 09, 2003 5:41 AM To: Midrange Systems Technical Discussion Subject: RE: CPYFRMIMPF, and none *crlf record delimiters


Art,


no, not Disney - Twinkies ;)

I've just spoken with the vendor and they can give me a CRLF delimited
record instead of a tilde (thank goodness!).   And the fields are '*'
delimited, so I can at least let CPYFRMIMPF parse the fields into alpha
fields.

I've created a work file with 20 x 30byte alpha fields and will use an
rpg
to convert those to the native database.   a whole lot easier than
writing
my own parsing routine, doncha think?

It's funny, but almost weekly, i'll be working on some problem and be
having 'technical difficulties', and see my question or something very
similar posed on one of the midrange lists.

I don't know what i'd do without them!

Rick

----original message-------
LOL.  I'm in a conferenece call right now about the exact same type of
file.  Tilde as record delimiter.  You're not working with Disney are
you?

Art Tostaine, Jr.
CCA, Inc.
Jackson, NJ 08527



_______________________________________________
This is the Midrange Systems Technical Discussion (MIDRANGE-L) mailing
list
To post a message email: MIDRANGE-L@xxxxxxxxxxxx
To subscribe, unsubscribe, or change list options,
visit: http://lists.midrange.com/mailman/listinfo/midrange-l
or email: MIDRANGE-L-request@xxxxxxxxxxxx
Before posting, please take a moment to review the archives
at http://archive.midrange.com/midrange-l.

_______________________________________________
This is the Midrange Systems Technical Discussion (MIDRANGE-L) mailing list
To post a message email: MIDRANGE-L@xxxxxxxxxxxx
To subscribe, unsubscribe, or change list options,
visit: http://lists.midrange.com/mailman/listinfo/midrange-l
or email: MIDRANGE-L-request@xxxxxxxxxxxx
Before posting, please take a moment to review the archives
at http://archive.midrange.com/midrange-l.

Pete Hall pbhall@xxxxxxxxxxxxx http://www.pbhall.us/


As an Amazon Associate we earn from qualifying purchases.

This thread ...

Replies:

Follow On AppleNews
Return to Archive home page | Return to MIDRANGE.COM home page

This mailing list archive is Copyright 1997-2024 by midrange.com and David Gibbs as a compilation work. Use of the archive is restricted to research of a business or technical nature. Any other uses are prohibited. Full details are available on our policy page. If you have questions about this, please contact [javascript protected email address].

Operating expenses for this site are earned using the Amazon Associate program and Google Adsense.