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

>On Fri, 26 Sep 2008 07:59:40 +0200, Hunkeler Peter (KIUK 3) wrote:
>>
>>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 :-)
>>
>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.)
>

What was wrong with this suggestion 5 days ago?  z/OS UNIX wasn't
required at all nor the considerations that go along with (OMVS segments,
intermediate storage etc.).

http://bama.ua.edu/cgi-bin/wa?A2=ind0809&L=ibm-main&D=1&amp;O=D&F=&S=&P=135974

Mark
--
Mark Zelden
Sr. Software and Systems Architect - z/OS Team Lead
Zurich North America / Farmers Insurance Group - ZFUS G-ITO
mailto:[EMAIL PROTECTED]
z/OS Systems Programming expert at http://expertanswercenter.techtarget.com/
Mark's MVS Utilities: http://home.flash.net/~mzelden/mvsutil.html

----------------------------------------------------------------------
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