|
Rory, I hesitate to jump in as I haven't used unix type api's much, but I recall there is an O_TEXTDATA flag on the open() file api. Are you using that? Not sure if that would help remove the need for CPY* command, but it may worth a try. Elvis -----Original Message----- Subject: [MI400] RE: RE: RE: RE: CPYTOSTMF under the covers Bob, Actually, it may be copying the trailing blanks also. However, when you then read() from it, it removes them and simply inserts a x'0D25' (crlf) after the last bit of data on each line. Rory
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.