Re: Data conversion EBCDIC to ASCII



On Fri, 26 Sep 2008 07:59:40 +0200, Hunkeler Peter (KIUK 3)
<peter.hunkeler@xxxxxxxxxxxxxxxxx> wrote:

<snip>
I'd suggest:

1) OMVS to start a UNIX shell. Or, if available, better use
telnet, rlogin, SSH to log into UNIX.
2) cp "//'BRASIL.ZOS.CONTEST.JCL(DATA1)'" data1
3) iconv -f ibm-1047 -t iso8859-1 data1 > data2
don't forget output redirection (>)!
4) cp data2 "//'BRASIL.ZOS.CONTEST.JCL(DATA1)'"
5) ctrl-d or exit to leave the shell
(or just keep the session around if using
telnet, rlogin, SSH, you might need to try once
more :-)

--
Peter Hunkeler
Credit Suisse

I'd really suggest installation of Dovetailed Technologies Co:Z free
product. Why? It will do the above in a single step!

fromdsn -s IBM-1047 -t ISO8859-1 'BRASIL.ZOS.CONTEST.JCL(DATA1)' >/data1

reverse it?

todsn -s ISO8859-1 -t IBM-1047 'BRASIL.ZOS.CONTEST.JCL(DATA1)' </data1

--
John

----------------------------------------------------------------------
For IBM-MAIN subscribe / signoff / archive access instructions,
send email to listserv@xxxxxxxxxxx with the message: GET IBM-MAIN INFO
Search the archives at http://bama.ua.edu/archives/ibm-main.html

.



Relevant Pages

  • Re: Data conversion EBCDIC to ASCII
    ... OMVS to start a UNIX shell. ... telnet, rlogin, SSH to log into UNIX. ...
    (bit.listserv.ibm-main)
  • Re: Data conversion EBCDIC to ASCII
    ... OMVS to start a UNIX shell. ... telnet, rlogin, SSH to log into UNIX. ...
    (bit.listserv.ibm-main)
  • Re: Data conversion EBCDIC to ASCII
    ... OMVS to start a UNIX shell. ... telnet, rlogin, SSH to log into UNIX. ...
    (bit.listserv.ibm-main)
  • [HPADM] Disable telnet and rlogin
    ... I do not want users to use telnet and rlogin and force ... them to use SSH instead. ... Try the all-new Yahoo! ...
    (HP-UX-Admin)
  • RE: Commentary on the seven words
    ... When I was an operating systems programmer we all too often forgot that the Operating system existed to support the application, not the other way around. ... A Because the application that we run uses a telnet client that doesn't support ssh - and that's why I can't run ssh on this system. ... I administrate one system that has 128 clients on it and it's ...
    (RedHat)