On Fri, 26 Sep 2008 08:59:06 -0500, Paul Gilmartin <[EMAIL PROTECTED]> wrote:

<snip>
>Or, if the OP has insufficient z/OS Unix temporary file space
>(or none at all), which seems to have been a problem:
>
>    cp "//'BRASIL.ZOS.CONTEST.JCL(EBCDIC)'" /dev/fd/1 |
>        iconv -f ibm-1047 -t iso8859-1                |
>            cp /dev/fd/0 "//'BRASIL.ZOS.CONTEST.JCL(ASCII)'"
>
>(It's best not to overwrite the original input file because you
>might need to try once more.)
>
>-- gil

Or, using my favorite Co:Z

fromdsn -s IBM-1047 -t ISO8859-1 'BRASIL.ZOS.CONTEST.JCL(EBCDIC)' | \
todsn 'BRASIL.ZOS.CONTEST.JCL(ASCII)'

I don't work for these people, honest. I am just very impressed with the
functionality. For those who are lucky enough to be able to get it installed.

Actually, if I needed to do this myself, I'd probably write an HLASM edit
macro for ISPF edit which would convert from EBCDIC to ASCII in the edit
buffer and just allow the user to either SAVE it back to the original or a
new member.

--
John

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

Reply via email to