Yes, removing all CR/LF from incoming files as Samantha suggests will almost always work fine as long as the sender isn't trying to use a LF or CR/LF combination (which can happen when converting from UNIX to Windows, for example) as a segment terminator. (Search through the archives for discussions regarding negative interchange control numbers and the ISA not really being a fixed 106 bytes). People, and some transport protocols, also sometimes add LF or CR/LF after the segment terminator. Removing unwanted CR/LF is easy (UNIX tr for example) but you need to be able to handle the exceptions - knowing when and how to do it.
Mike ----------------------------------------- Michael C. Rawlins, Senior Software Engineer, GXS Sent from personal account On 12/3/2011 9:47 PM, Samantha Scott wrote: > > That's called a 'blocked' file - sent in a block 80 bytes wide. It's > an old mainframe thing. Your VAN can usually unblock it for you or you > can do it I ourself by removing all the CRLF characters in the file > first ( you don't mention what tool you use) and then fed it streamed > to you de-envelope procedure which should be able to handle it from there > > On Dec 3, 2011, at 10:17 PM, "weijinghsu" <[email protected] > <mailto:whsu%40hsu-computing.com>> wrote: > > > Hi, All > > > > I was assuming that you can look at the ISA segment and determine > the data element delimiter at the 4th character and segment delimiter > at the end of the ISA segment, 105th character. > > > > If you insert a CR/LF after the 80th character to make the line 80 > characters long, this will not work. Is this true at some clearing houses? > > > > If it is true, can someone post a test file here? > > > > Thanks in advance. > > > > WJ > > > > > > [Non-text portions of this message have been removed] > > ------------------------------------ ... Please use the following Message Identifiers as your subject prefix: <SALES>, <JOBS>, <LIST>, <TECH>, <MISC>, <EVENT>, <OFF-TOPIC> Job postings are welcome, but for job postings or requests for work: <JOBS> IS REQUIRED in the subject line as a prefix.Yahoo! Groups Links <*> To visit your group on the web, go to: http://groups.yahoo.com/group/EDI-L/ <*> Your email settings: Individual Email | Traditional <*> To change settings online go to: http://groups.yahoo.com/group/EDI-L/join (Yahoo! ID required) <*> To change settings via email: [email protected] [email protected] <*> To unsubscribe from this group, send an email to: [email protected] <*> Your use of Yahoo! Groups is subject to: http://docs.yahoo.com/info/terms/
