On Fri, Feb 10, 2012 at 5:49 AM, Alan Bourke <[email protected]> wrote: > > So I would read the whole file into a string (assuming it's not vast), > STRTRAN() the carriage returns to a pipe character or something, write > the string to a temp file, APPEND FROM the temp file, delete the temp > file. > Alan Bourke
I recently had to deal with something like this when our mainframe would *sometimes* embed an EOF char in the line output stream.... took me 4 months to trap that one.... argh.... So prolly the most straightforward way is as described; bring the file contents into a string var, STRTRAN the thing to remove the unwanted char(s) with something you can more easily deal with (such as pipe "|") or just remove it altogether, then proceed with the APPEND. -- Matt Jarvis Eugene, Oregon USA _______________________________________________ Post Messages to: [email protected] Subscription Maintenance: http://leafe.com/mailman/listinfo/profox OT-free version of this list: http://leafe.com/mailman/listinfo/profoxtech Searchable Archive: http://leafe.com/archives/search/profox This message: http://leafe.com/archives/byMID/profox/capt54rbzdnh_jzdb01opdtmfsxkzk0kw-c79uamanvpgg+g...@mail.gmail.com ** All postings, unless explicitly stated otherwise, are the opinions of the author, and do not constitute legal or medical advice. This statement is added to the messages for those lawyers who are too stupid to see the obvious.

