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
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
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
-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
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
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
> -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
> -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
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
> -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
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
> -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
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
: 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?
>
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
> -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
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)
---
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
> -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
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).
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
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
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
-
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
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
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
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
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:
>
>
-
'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
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
-
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
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
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
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
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
> 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
> -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
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
38 matches
Mail list logo