When receiving the file on a Linux host, which WSL really is, you end up with LF as the end of record markers. You need to use unix2dos to cover the LF to CRLF, which is what the OP wants since he is going to process in Windows.
On Sat, 24 Jan 2026 12:16:37 -0600, Paul Gilmartin <[email protected]> wrote: >On Sat, 24 Jan 2026 10:40:02 -0600, John S. Giltner, Jr. wrote: >> >>When z/OS, or z/VM, is involved the ASCII option also causes them to do >>translation between ASCII and EBCDIC as needed. >> >It would seem, then, that unix2dos is superfluous. > >>>On Fri, 23 Jan 2026 20:25:46 +0000, Farley, Peter \ wrote: >>> >>>>Use the WSL command line utility unix2dos to convert the line endings of >>>>the downloaded file(s). >>>> >>>Does it understand EBCDIC? >>> >>>Does it understand NL (x'15', not available in ASCII)? > >-- >gil > >---------------------------------------------------------------------- >For IBM-MAIN subscribe / signoff / archive access instructions, >send email to [email protected] with the message: INFO IBM-MAIN ---------------------------------------------------------------------- For IBM-MAIN subscribe / signoff / archive access instructions, send email to [email protected] with the message: INFO IBM-MAIN
