On Mon, 8 Sep 2014 09:16:18 -0500, John McKown wrote:

>On Mon, Sep 8, 2014 at 8:53 AM, Paul Gilmartin wrote:
>>>> I have a file on a WIN server with variable data records in EBCDIC and the
>>>> correct end-of-line marker of x'0D25'  ...
>
>Well, I don't know how the insane bank people generate _their_ file.
>But I did it simply by creating a text file on UNIX. Then did a
>"unix2dos" on it to change the LF to CRLF. I then used iconv -t
>iso8859-1 -t ibm-1047 to create the ugly EBCDIC file. Finally I ftp
>uploaded the EBCDIC file in binary to z/OS.
> 
By "UNIX", you must mean "Linux" or some such ASCII system which
separates lines with LF rather than NL, and that you ran iconv on
that non-z/OS system also.

IBM adamantly refuses to admit that iconv violates a standard, or
excuses itself with footnotes in various manuals.

I hate EBCDIC!

-- gil

----------------------------------------------------------------------
For IBM-MAIN subscribe / signoff / archive access instructions,
send email to [email protected] with the message: INFO IBM-MAIN

Reply via email to