Re: ASCII to EBCDIC conversion

2011-06-14 Thread Mark Post
>>> On 6/14/2011 at 01:15 AM, "Sundaram, Parthasarthy" wrote: > Iam able to convert the ASCII file to EBCDIC thru DD command > outside SFTP mode.Is this the right command. Does SunOS have iconv? It's what I try to use when I'm doing similar conversions. It's part of glibc, but you mig

Re: ASCII to EBCDIC conversion

2011-06-14 Thread David Boyes
On 6/14/11 1:15 AM, "Sundaram, Parthasarthy" wrote: >i) In SunOS how to convert the ASCII mode to EBCDIC mode in SFTP >mode. If you are talking to Linux on Z, it's an ASCII system. No conversion necessary. If you are FTPing to z/OS or other IBM system, use text mode. Conversion will happen

Re: ASCII to EBCDIC conversion

2011-06-14 Thread Richard Gasiorowski
purpose. From: adam shea To: LINUX-390@vm.marist.edu Date: 06/14/2011 10:35 AM Subject: Re: ASCII to EBCDIC conversion If I remember correctly, the way I did this (when I needed to do something like this) I transferred the files using vanilla FTP in binary mode. There is an FTP option you must

Re: ASCII to EBCDIC conversion

2011-06-14 Thread R P Herrold
On Tue, 14 Jun 2011, Richard Troth wrote: The FTP server on the EBCDIC system should handle translation of text files. Let the EBCDIC side do the translation. heh -- easily said ;) I had a situation where I was receiver and sender as a counterparty on credit card clearance data, in EBCDIC f

Re: ASCII to EBCDIC conversion

2011-06-14 Thread John McKown
SFTP, in the OP, is distinctly different from FTP[S]. I assume the OP was correct in his usage. SFTP is part of SSH. You're probably thinking of QUOTE SITE RDW, and I totally agree with you about that. On Tue, 2011-06-14 at 10:29 -0400, adam shea wrote: > If I remember correctly, the way I did th

Re: ASCII to EBCDIC conversion

2011-06-14 Thread William Carroll
t have the same old ftp client to deal with William D Carroll Mainframe Engineering, Build Office: (614) 677-3885 Cell: (614) 266-5402 Email: carrol...@nationwide.com From: Michael Stephens To: LINUX-390@VM.MARIST.EDU Date: 06/14/2011 10:08 AM Subject: Re: ASCII to EBCDIC conversion Sent

Re: ASCII to EBCDIC conversion

2011-06-14 Thread adam shea
If I remember correctly, the way I did this (when I needed to do something like this) I transferred the files using vanilla FTP in binary mode. There is an FTP option you must specify to the FTP server on the z/OS system requesting the inclusion of the record descriptor word (RDW) field. The RDW, a

Re: ASCII to EBCDIC conversion

2011-06-14 Thread John McKown
I didn't notice the "dd" portion of the question. The problem, to IBM at least on z/OS, the end-of-line character is not a LineFeed (EBCDIC 0x25) but a NewLine (EBCDIC 0x15). "dd" converts 0x0a to 0x25 and not 0x15. On Tue, 2011-06-14 at 10:45 +0530, Sundaram, Parthasarthy wrote: > Hi Team, > >

Re: ASCII to EBCDIC conversion

2011-06-14 Thread Michael Stephens
--Original Message- From: Linux on 390 Port [mailto:LINUX-390@VM.MARIST.EDU] On Behalf Of Scott Rohling Sent: Tuesday, June 14, 2011 8:49 AM To: LINUX-390@VM.MARIST.EDU Subject: Re: ASCII to EBCDIC conversion I'm not sure this will make a difference -- I misread the table .. and the LF cha

Re: ASCII to EBCDIC conversion

2011-06-14 Thread Richard Troth
I am not sure what you are asking. Linux/390 is an ASCII system, just like Solaris (SunOS). Linux on the mainframe needs no translation when talking to Solaris (on any hardware). Solaris on the mainframe needs no translation when talking to Linux (on any hardware). Linux/390 (and Solaris on z) can

Re: ASCII to EBCDIC conversion

2011-06-14 Thread Scott Rohling
I'm not sure this will make a difference -- I misread the table .. and the LF characters are the same in ebcdic or ibm.. You may need to use 'tr' or some other translate function after the dd. Scott Rohling On Tue, Jun 14, 2011 at 7:43 AM, Scott Rohling wrote: > Did you use 'ebcdic' or 'ibm' for

Re: ASCII to EBCDIC conversion

2011-06-14 Thread Scott Rohling
Did you use 'ebcdic' or 'ibm' for conversion type on the dd command? Whichever you used, you might want to try and use the other and see if results change. Scott Rohling On Mon, Jun 13, 2011 at 11:15 PM, Sundaram, Parthasarthy < parthasarthy.sunda...@eds.com> wrote: > Hi Team, > > Very good mo

Re: ASCII to EBCDIC conversion

2011-06-14 Thread John McKown
This is not a SUNOS forum. But from what I know of sftp there is no option to convert to EBCDIC. Now, if you are going to a z/OS system, there is a 3rd party enhancement available from Dovetailed Technologies which does the conversion. Google that name and "sftp". I can't cut and paste on my smartp

ASCII to EBCDIC conversion

2011-06-14 Thread Sundaram, Parthasarthy
Hi Team, Very good morning...Iam parthasarathy working in Mphasis.Kindly requesting you to help me on my below queries. i) In SunOS how to convert the ASCII mode to EBCDIC mode in SFTP mode. ii) Iam able to convert the ASCII file to EBCDIC thru DD command outside SFTP mode.Is this the