>Knowing that, then here's the series of commands I recommend
>you issue, starting at ISPF 6:
>
>   ==> oput 'BRASIL.ZOS.CONTEST.JCL(DATA1)' '/data1' binary
>
>   ==> omvs                            (you are put into UNIX)
>
>   ==> iconv -f ibm-1047 -t iso8859-1 data1 data2
>   ==> exit                  (you leave UNIX, return to ISPF 6)
>
>   ==> oget '/data1' 'BRASIL.ZOS.CONTEST.JCL(DATA1)' binary


Since your advice is to do the conversion from the UNIX shell,
why not do everything from there? A lot less troubles to be
expected. 

What will likely be the next error reported by Claudio? I bet
it'll be:

iconv: FSUM6180 file "data1": EDC5129I No such file or directory.

Why? He posted:
  ...
  THE OPENING OF HFS FILE /DATA1

See the upper case in the file name? 

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

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