On 2019-03-22 12:41 PM, John Yeung wrote:
On Fri, Mar 22, 2019 at 11:59 AM Barbara Morris <bmorris@xxxxxxxxxx> wrote:

CHGATR wouldn't work after using 'cat' since data-loss would have
already occurred.

I didn't realize there *was* data loss. I would have thought `cat`
just faithfully reproduces bytes. (Is that Unix thinking when we
actually need Unix-style-but-on-IBM-i thinking?)

'cat' also does CCSID conversion.

I'm not actually sure whether 'cat' would fail if it couldn't convert some characters or whether it would put substitution characters for unconvertable data.

This thread ...


Follow On AppleNews
Return to Archive home page | Return to MIDRANGE.COM home page

This mailing list archive is Copyright 1997-2020 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].