|
Skip all that stuff, FTP it to the IFS, then read it byte by byte with an RPGIV program and interigate it yourself, throw away what you don't want, write the fields/records when you want to. RPGIV with the Unix Open/Read/Close API's are alot easier than looking at it with some tool like word pad and wondering what you are seeing. Plus, the Bytes you see in the RPG program is what it is in EBCIDIC the way you are going to store them anyway. just $.02 John Carr --------------------------------- If you need to replace the lf character with a cr/lf before moving the file to the 400, open the file in an editor like Text Pad that supports hex and do a global search and replace. This is a one shot solution that assumes the file is small enough to open in a reasonably capable editor.
As an Amazon Associate we earn from qualifying purchases.
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.