-----Original Message-----
From: IBM Mainframe Discussion List [mailto:[EMAIL PROTECTED] On
Behalf Of McKown, John
Sent: Thursday, March 20, 2008 10:04 AM
To: [email protected]
Subject: Convert EBCDIC to ASCII in batch?

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

As far as I know, you can FTP the file with translation to the same
system. I haven't tried specifically what you are asking, but it seems
simple enough. And while you are doing it, you could just send it on to
the Windows system -- unless the Windows system has to pull it...

And, of course, you can do this with a batch job (using REXX, CLIST,
etc.), so anyone could invoke it.

Regards,
Steve Thompson

-- All opinions expressed by me are my own and may not necessarily
reflect those of my employer. --
 

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