|
----- Message from paul.roy@xxxxxxx on Thu, 4 Jun 2015 00:57:56 +0200-----
To:
"Midrange Systems Technical Discussion" <midrange-l@xxxxxxxxxxxx>
Subject:
Re: Line-ending for IFS test stream file
Could it be that the length passed to the write() api is simply
miscalculated ?
Paul
----- Message from Vernon Hamberg <vhamberg@xxxxxxxxxxxxxxx> on Thu,
04 Jun 2015 08:06:00 -0500 -----
To:
Midrange Systems Technical Discussion <midrange-l@xxxxxxxxxxxx>
Subject:
Re: Line-ending for IFS test stream file
Hi Michael
I had a suspicion that the ftruncate utility outputs only CRs or LFs -
one of the other - so the documentation might be elsewhere as to this
behavior. The utility is found in Unix and Linux and has been around for
a long time,. so there is expected behavior. Not sure if it can be
managed with options.
I did run across some hits that suggest that something like this is the
case. I will be curious to hear IBM's answer.
Cheers
Vern
----- Message from paul.roy@xxxxxxx on Thu, 4 Jun 2015 15:17:54 +0200-----
to
To:
Midrange Systems Technical Discussion <midrange-l@xxxxxxxxxxxx>
Subject:
Re: Line-ending for IFS test stream file
I would be very surprised that ftruncate() could have been implemented
change the content of a stream file... and removing some EOL
characters... CR or LF are just characters (binary content for the file
system) ...
the operation it normally at the filesystem level, no relation with
lines...
Could you post the (COBOL) code ?
Paul
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.