Or you could use fromdsn with Co:Z to transfer and convert in one step (over
SSH).

// EXEC COZPROC,ARGS='[EMAIL PROTECTED]'
//STDIN DD *
  fromdsn -s IBM037 -t ISO8859-1 //MVS.DATASET > c:\data\myfile.txt
//

(the -s and -t are probably not necessary, the default will be to use the
default z/OS and windows codepages)

Kirk Wolf
Dovetailed Technologies
http://dovetail.com/coz


On Thu, Mar 20, 2008 at 10:04 AM, McKown, John <
[EMAIL PROTECTED]> wrote:

> I cannot think of an easy way to do this, so I thought that I'd ask. I
> want to copy a sequential file to another sequential file (both on DASD,
> not tape!), translating the contents from EBCDIC (CP-037) to ASCII
> (ISO8859-1). I can think of a way to do it using UNIX services, but I'm
> hoping for a simplier method. The ASCII file is to be transferred to a
> Windows system, so each line must end in CRLF.
>
> Yes, I could use Dovetailed Technologies' "fromdsn" and "todsn" piped to
> each other, but that seems "silly" to me.
>
> --
> John McKown
> Senior Systems Programmer
> HealthMarkets
> Keeping the Promise of Affordable Coverage
> Administrative Services Group
> Information Technology
>
> The information contained in this e-mail message may be privileged
> and/or confidential.  It is for intended addressee(s) only.  If you are
> not the intended recipient, you are hereby notified that any disclosure,
> reproduction, distribution or other use of this communication is
> strictly prohibited and could, in certain circumstances, be a criminal
> offense.  If you have received this e-mail in error, please notify the
> sender by reply and delete this message without copying or disclosing
> it.
>
> ----------------------------------------------------------------------
> 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
>

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