What I would do is to read in blocks one block at a time and see when it becomes messed up and analyse that block against other blocks that or ok.
Start with the whole then half of each until the blocks are easy to analyse. 2010/2/9 Alex Rufon <[email protected]>: > Hi, > > This is a head scratcher. > > I've been using "freadr" to process outputs of an AS400 system. I've been > using this for years without a hitch. > > Now I've got data that becomes messed up if I read it with "freadr". To work > around the problem, I used: > > cutopen freads 'filename' > > Unfortunately, the problem file I'm processing is around 19MB so I can't > provide a sample. Each line of the file is delimited by CRLF. > > I know it's a bit vague but any ideas on the matter would be helpful. :) > > Thanks. > > r/Alex > ---------------------------------------------------------------------- > For information about J forums see http://www.jsoftware.com/forums.htm > -- Björn Helgason, Verkfræðingur Fornustekkum II 781 Hornafirði Po Box 127,801 Selfoss , t-póst: [email protected] gsm: +3546985532 sími: +3544781286 http://groups.google.com/group/J-Programming Tæknikunnátta höndlar hið flókna, sköpunargáfa er meistari einfaldleikans góður kennari getur stigið á tær án þess að glansinn fari af skónum /|_ .-----------------------------------. ,' .\ / | Með léttri lund verður | ,--' _,' | Dagurinn í dag | / / | Enn betri en gærdagurinn | ( -. | `-----------------------------------' | ) | (\_ _/) (`-. '--.) (='.'=) ♖♘♗♕♔♙ `. )----' (")_(") ☃☠ ---------------------------------------------------------------------- For information about J forums see http://www.jsoftware.com/forums.htm
