Convert EBCDIC to ASCII in batch?

2008-03-20 Thread McKown, John
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 sim

Re: Convert EBCDIC to ASCII in batch?

2008-03-20 Thread Michael Knigge
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. Why do you want to convert it first and

Re: Convert EBCDIC to ASCII in batch?

2008-03-20 Thread GAVIN Darren * OPS EAS
List [mailto:[EMAIL PROTECTED] On Behalf Of McKown, John Sent: Thursday, March 20, 2008 8:04 AM To: IBM-MAIN@bama.ua.edu 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 sequentia

Re: Convert EBCDIC to ASCII in batch?

2008-03-20 Thread Thompson, Steve
-Original Message- From: IBM Mainframe Discussion List [mailto:[EMAIL PROTECTED] On Behalf Of McKown, John Sent: Thursday, March 20, 2008 10:04 AM To: IBM-MAIN@bama.ua.edu Subject: Convert EBCDIC to ASCII in batch? I cannot think of an easy way to do this, so I thought that I'd a

Re: Convert EBCDIC to ASCII in batch?

2008-03-20 Thread Mark Zelden
On Thu, 20 Mar 2008 10:04:11 -0500, 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 >(ISO885

Re: Convert EBCDIC to ASCII in batch?

2008-03-20 Thread Kirk Wolf
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 an

Re: Convert EBCDIC to ASCII in batch?

2008-03-20 Thread McKown, John
> -Original Message- > From: IBM Mainframe Discussion List > [mailto:[EMAIL PROTECTED] On Behalf Of Michael Knigge > Sent: Thursday, March 20, 2008 10:27 AM > To: IBM-MAIN@bama.ua.edu > Subject: Re: Convert EBCDIC to ASCII in batch? > > Why do you want to c

Re: Convert EBCDIC to ASCII in batch?

2008-03-20 Thread McKown, John
> -Original Message- > From: IBM Mainframe Discussion List > [mailto:[EMAIL PROTECTED] On Behalf Of Kirk Wolf > Sent: Thursday, March 20, 2008 10:44 AM > To: IBM-MAIN@bama.ua.edu > Subject: Re: Convert EBCDIC to ASCII in batch? > > > Or you could use fromds

Re: Convert EBCDIC to ASCII in batch?

2008-03-20 Thread Mark Zelden
On Thu, 20 Mar 2008 10:39:28 -0500, Mark Zelden <[EMAIL PROTECTED]> wrote: >On Thu, 20 Mar 2008 10:04:11 -0500, 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 D

Re: Convert EBCDIC to ASCII in batch?

2008-03-20 Thread McKown, John
> -Original Message- > From: IBM Mainframe Discussion List > [mailto:[EMAIL PROTECTED] On Behalf Of Mark Zelden > Sent: Thursday, March 20, 2008 10:58 AM > To: IBM-MAIN@bama.ua.edu > Subject: Re: Convert EBCDIC to ASCII in batch? [snip] > > BROWSESY

Re: Convert EBCDIC to ASCII in batch?

2008-03-20 Thread Kirk Wolf
Thats curious. The code uses the C library to do dataset I/O and of course you would have pipe I/O between the processes. One variable is whether you have Unicode Services enabled for these codepages or not - we fall back to ICONV() if not, which can be more expensive. Might also be some LE (CEE

Re: Convert EBCDIC to ASCII in batch?

2008-03-20 Thread McKown, John
> -Original Message- > From: IBM Mainframe Discussion List > [mailto:[EMAIL PROTECTED] On Behalf Of Kirk Wolf > Sent: Thursday, March 20, 2008 11:03 AM > To: IBM-MAIN@bama.ua.edu > Subject: Re: Convert EBCDIC to ASCII in batch? > > > Thats curious. The co

Re: Convert EBCDIC to ASCII in batch?

2008-03-20 Thread Mark Zelden
On Thu, 20 Mar 2008 10:57:30 -0500, Mark Zelden <[EMAIL PROTECTED]> wrote: >On Thu, 20 Mar 2008 10:39:28 -0500, Mark Zelden <[EMAIL PROTECTED]> >wrote: > >>On Thu, 20 Mar 2008 10:04:11 -0500, McKown, John >><[EMAIL PROTECTED]> wrote: >> >>>I cannot think of an easy way to do this, so I thought tha

Re: Convert EBCDIC to ASCII in batch?

2008-03-20 Thread GAVIN Darren * OPS EAS
: Convert EBCDIC to ASCII in batch? > -Original Message- > From: IBM Mainframe Discussion List > [mailto:[EMAIL PROTECTED] On Behalf Of Michael Knigge > Sent: Thursday, March 20, 2008 10:27 AM > To: IBM-MAIN@bama.ua.edu > Subject: Re: Convert EBCDIC to ASCII in batch? >

Re: Convert EBCDIC to ASCII in batch?

2008-03-20 Thread Paul Gilmartin
On Thu, 20 Mar 2008 10:39:28 -0500, Mark Zelden wrote: > > XLATE WORKAREA,(4),TO=A > ?!?!?!?! Doesn't XLATE use the dreadful IGC0010C (IIRC) conversion table? I might try (totally untested): //STEP EXEC PGM=FTP,PARM='localhost (EXIT' //TEMP DD DISP=(,PASS),DSN=&&TEMP,... //INPUT D

Re: Convert EBCDIC to ASCII in batch?

2008-03-20 Thread McKown, John
> -Original Message- > From: IBM Mainframe Discussion List > [mailto:[EMAIL PROTECTED] On Behalf Of GAVIN Darren * OPS EAS > Sent: Thursday, March 20, 2008 11:17 AM > To: IBM-MAIN@bama.ua.edu > Subject: Re: Convert EBCDIC to ASCII in batch? > > > It sounds

Re: Convert EBCDIC to ASCII in batch?

2008-03-20 Thread Mark Zelden
On Thu, 20 Mar 2008 11:48:18 -0500, Paul Gilmartin <[EMAIL PROTECTED]> wrote: >On Thu, 20 Mar 2008 10:39:28 -0500, Mark Zelden wrote: >> >> XLATE WORKAREA,(4),TO=A >> >?!?!?!?! > >Doesn't XLATE use the dreadful IGC0010C (IIRC) conversion table? > Yes. BROWSESYS1.MACLIB(XLATE)

Re: Convert EBCDIC to ASCII in batch?

2008-03-20 Thread Rick Fochtman
--- Actually, I think that I've found the problem. There appears to be a firewall between the mainframe and the Windows box. The ftp which is failing is large (small ftps succeed!) and my estimate is that it is taking just a bit over 2 minutes to complete the data

Re: Convert EBCDIC to ASCII in batch?

2008-03-20 Thread McKown, John
> -Original Message- > From: IBM Mainframe Discussion List > [mailto:[EMAIL PROTECTED] On Behalf Of Rick Fochtman > Sent: Thursday, March 20, 2008 11:59 AM > To: IBM-MAIN@bama.ua.edu > Subject: Re: Convert EBCDIC

Re: Convert EBCDIC to ASCII in batch?

2008-03-20 Thread Howard Brazee
On 20 Mar 2008 08:06:16 -0700, [EMAIL PROTECTED] (McKown, John) 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).

Re: Convert EBCDIC to ASCII in batch?

2008-03-20 Thread Todd Burch
age- > From: IBM Mainframe Discussion List [mailto:[EMAIL PROTECTED] On > Behalf Of McKown, John > Sent: Thursday, March 20, 2008 9:04 AM > To: IBM-MAIN@bama.ua.edu > Subject: Convert EBCDIC to ASCII in batch? > > I cannot think of an easy way to do this, so I thought that I&#

Re: Convert EBCDIC to ASCII in batch?

2008-03-20 Thread Ed Finnell
In a message dated 3/20/2008 1:43:25 P.M. Central Daylight Time, [EMAIL PROTECTED] writes: (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. >> What a

Re: Convert EBCDIC to ASCII in batch?

2008-03-20 Thread Arthur T.
On 20 Mar 2008 11:49:31 -0700, in bit.listserv.ibm-main (Message-ID:<[EMAIL PROTECTED]>) [EMAIL PROTECTED] (Ed Finnell) wrote: In a message dated 3/20/2008 1:43:25 P.M. Central Daylight Time, [EMAIL PROTECTED] writes: (ISO8859-1). I can think of a way to do it using UNIX services, but I'm

Re: Convert EBCDIC to ASCII in batch?

2008-03-20 Thread Rick Fochtman
- Well, my manager owns cattle and has a "hot shot" that he's not afraid to use (did use it one time on a teenager who was trespassing and arrogantly said "What you gonna do, old man?" - which is better than his son who actually did shoot one with

Re: Convert EBCDIC to ASCII in batch?

2008-03-20 Thread Paul Gilmartin
On Thu, 20 Mar 2008 12:08:51 -0600, Todd Burch wrote: >If this is a COBOL file, ... > What's a "COBOL file"? And why does it matter? I used to think bytes is bytes. -- gil -- For IBM-MAIN subscribe / signoff / archive access i

Re: Convert EBCDIC to ASCII in batch?

2008-03-20 Thread Ed Finnell
In a message dated 3/20/2008 5:58:57 P.M. Central Daylight Time, [EMAIL PROTECTED] writes: Isn't it amazing that so many of us survived to adulthood? :-) >> 'Fraid it's more serious these days. Had a friend whose dad was in 'retirement village' after spouse passed away and was getting r

Re: Convert EBCDIC to ASCII in batch?

2008-03-20 Thread WalterR
McKown, John 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, b

Re: Convert EBCDIC to ASCII in batch?

2008-03-20 Thread Todd Burch
e- > From: IBM Mainframe Discussion List [mailto:[EMAIL PROTECTED] On > Behalf Of Paul Gilmartin > Sent: Thursday, March 20, 2008 2:58 PM > To: IBM-MAIN@bama.ua.edu > Subject: Re: Convert EBCDIC to ASCII in batch? > > On Thu, 20 Mar 2008 12:08:51 -0600, Todd Burch wrote: > >

Re: Convert EBCDIC to ASCII in batch?

2008-03-20 Thread Rick Fochtman
- 'Fraid it's more serious these days. Had a friend whose dad was in 'retirement village' after spouse passed away and was getting ready for dove season by cleaning his 12gauge and this guy kicks in the front door! So he snaps the breach and 'Says, hard t

Re: Convert EBCDIC to ASCII in batch?

2008-03-20 Thread Ed Finnell
In a message dated 3/20/2008 10:03:51 P.M. Central Daylight Time, [EMAIL PROTECTED] writes: Isn't it great when some "street creep" finally get what he so richly deserves? Even better when he does it to himself! :-) >> Almost as good as the VP who demanded 'all the RMF reports' for the pa

Re: Convert EBCDIC to ASCII in batch?

2008-03-21 Thread Rick Fochtman
- Isn't it great when some "street creep" finally get what he so richly deserves? Even better when he does it to himself! :-) Almost as good as the VP who demanded 'all the RMF reports' for the past week on their desk by 8:00 next morning. They had to

Re: Convert EBCDIC to ASCII in batch?

2008-03-21 Thread Howard Brazee
On 20 Mar 2008 16:44:16 -0700, [EMAIL PROTECTED] (Todd Burch) wrote: >You're smart enough to know what a COBOL file is. So I didn't word it >perfectly. > >Actually, it doesn't matter what produced the file, as long as the binary >file to be converted could be described by a file that looks lik

Re: Convert EBCDIC to ASCII in batch?

2008-03-21 Thread Howard Brazee
On 20 Mar 2008 16:10:41 -0700, [EMAIL PROTECTED] (Ed Finnell) wrote: >'Fraid it's more serious these days. Had a friend whose dad was in >'retirement village' after spouse passed away and was getting ready for dove >season by >cleaning his 12gauge and this guy kicks in the front door! So he

Re: Convert EBCDIC to ASCII in batch?

2008-03-22 Thread Shmuel Metz (Seymour J.)
In <[EMAIL PROTECTED]>, on 03/20/2008 at 07:10 PM, Ed Finnell <[EMAIL PROTECTED]> said: >'Fraid it's more serious these days. Had a friend whose dad was in >'retirement village' after spouse passed away and was getting ready for >dove season by cleaning his 12gauge and this guy kicks in th

Re: Convert EBCDIC to ASCII in batch?

2008-03-23 Thread Shmuel Metz (Seymour J.)
In <[EMAIL PROTECTED]>, on 03/20/2008 at 05:43 PM, Todd Burch <[EMAIL PROTECTED]> said: >You're smart enough to know what a COBOL file is. He doesn't have to run faster than the bear, he just has to run faster than you. He's smart enough to know that "a COBOL file" conveys no information about

Re: Convert EBCDIC to ASCII in batch?

2008-03-25 Thread gah
> Actually, I think that I've found the problem. There appears to be a > firewall between the mainframe and the Windows box. The ftp which is > failing is large (small ftps succeed!) and my estimate is that it is > taking just a bit over 2 minutes to complete the data transfer. I > think the firew

Re: Convert EBCDIC to ASCII in batch?

2008-03-25 Thread McKown, John
> -Original Message- > From: IBM Mainframe Discussion List > [mailto:[EMAIL PROTECTED] On Behalf Of gah > Sent: Tuesday, March 25, 2008 3:15 PM > To: IBM-MAIN@bama.ua.edu > Subject: Re: Convert EBCDIC to ASCII in batch? > > > > Actually, I think that

Re: Convert EBCDIC to ASCII in batch?

2008-03-30 Thread Kenneth E Tomiak
I once had a problem FTPing a large dump to IBM. It kept timing out, and since I could not list the IBM side, thought it failed and sent it to a new name, which also timed out. I let IBM know and both files were the same size and complete, so that connection seemed to just be there to let me kn