|
I am trying to copy a physical file to a stream file that will be imported into another system. This other system cannot accept carriage returns or line feeds so I have created a physical file with one field that is defined as 80 characters long. The data is formatted so that it is written out to this file as one long string with a '~' separating each segment. The problem is that when the last record is written out, it does not fill the entire 80 characters of the field. I can not have anything after the last '~' - no carriage return, no line feed, no eof terminator, and not even blanks. Does anyone have a suggestion?
As an Amazon Associate we earn from qualifying purchases.
This mailing list archive is Copyright 1997-2025 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.