empty (blank) lines in ASCII files sent from Linux to z/OS (MVS) in
text mode are converted to x'25' values. The target file is an FB 80
file. The correct translation would be to convert the empty lines in
the ASCII files to a blank line on z/OS. If the following was in an
ASCII file:
This is the first line
The next line will be converted to x'25' on MVS
This is the last line, but it will end up starting with x'25' on MVS.
I can work around this problem by sending the file through: sed -
e 's/^$/ /'
This converts empty lines to lines with 1 space. The ASCII to EBCDIC
conversion will work correctly with the target of recfm F files. I
have not tested to see what would happen to recfm V files. I do know
that the standard ftp client on Linux performs the conversion
correctly.
I am running perl v5.8.8 built for X86_64-linux-thread-multi.
Thank you.