Re: Convert EBCDIC to ASCII in batch?



-----Original Message-----
From: IBM Mainframe Discussion List
[mailto:IBM-MAIN@xxxxxxxxxxx] On Behalf Of Kirk Wolf
Sent: Thursday, March 20, 2008 10:44 AM
To: IBM-MAIN@xxxxxxxxxxx
Subject: Re: Convert EBCDIC to ASCII in batch?


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

// EXEC COZPROC,ARGS='user@xxxxxxxxxxxxxxxx'
//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

I decided to give this a look. OUCH, MY ACHING CPU! I used DTLSPAWN with
the commands:

fromdsn -l crlf -t 819 "//DD:INPUT1" |
todsn -b "//DD:OUTPUT1"

The job was using about 25% CPU, consistently, before I cancelled it.
The files are huge, about 16,000+ tracks. In our CPU critical shop, this
is just not going to fly. Oh, I had to use "todsn" because we just don't
have enough UNIX filesystem space to hold this stuff.

--
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 listserv@xxxxxxxxxxx with the message: GET IBM-MAIN INFO
Search the archives at http://bama.ua.edu/archives/ibm-main.html
.



Relevant Pages

  • RE: IEBCOPY Unloaded dataset to PC and back again...not
    ... not the intended recipient, you are hereby notified that any disclosure, ... For IBM-MAIN subscribe / signoff / archive access instructions, ... send email to listserv@xxxxxxxxxxx with the message: GET IBM-MAIN INFO ...
    (bit.listserv.ibm-main)
  • RE: Patents, Copyrights, Profits, Flex and Hercules
    ... not the intended recipient, you are hereby notified that any disclosure, ... For IBM-MAIN subscribe / signoff / archive access instructions, ... send email to listserv@xxxxxxxxxxx with the message: GET IBM-MAIN INFO ...
    (bit.listserv.ibm-main)
  • RE: Last Record
    ... not the intended recipient, you are hereby notified that any disclosure, ... For IBM-MAIN subscribe / signoff / archive access instructions, ... send email to listserv@xxxxxxxxxxx with the message: GET IBM-MAIN INFO ...
    (bit.listserv.ibm-main)
  • Why did OPEN get RC=8?
    ... not the intended recipient, you are hereby notified that any disclosure, ... For IBM-MAIN subscribe / signoff / archive access instructions, ... send email to listserv@xxxxxxxxxxx with the message: GET IBM-MAIN INFO ...
    (bit.listserv.ibm-main)
  • Re: Another difference between platforms...
    ... not the intended recipient, you are hereby notified that any disclosure, ... For IBM-MAIN subscribe / signoff / archive access instructions, ... send email to listserv@xxxxxxxxxxx with the message: GET IBM-MAIN INFO ...
    (bit.listserv.ibm-main)