"OpenSSH's scp always transfers files as text" that may be true but it
is still EBCDIC text and I need it to be ASCII text.

The iconv command worked fine. For what it is worth out of the many
different protocols available I used.

        iconv -f EBCDICUS -t US-ASCII ebcdic.input -o ascii.output

This process was successful for me.

Thanks for your help

-----Original Message-----
From: Linux on 390 Port [mailto:[EMAIL PROTECTED] On Behalf Of
Jerry Whitteridge
Sent: Wednesday, August 01, 2007 5:09 PM
To: [email protected]
Subject: Re: EBCDIC to ASCII conversion;

You might need to check your NFS mount  to do the conversion. I have
linux mounting a z/OS export and read and write files backwards and
forwards with no issues.  When you are on your linux box can you read
the file correctly ? If so then the EBDCIC/ASCII conversion is taking
place.  Otherwise remember that

OpenSSH's sftp always transfers files as binary.

OpenSSH's scp always transfers files as text.


Jerry Whitteridge
Safeway Inc
925 951 4184
  

> -----Original Message-----
> From: Linux on 390 Port [mailto:[EMAIL PROTECTED] On Behalf Of 
> Clark, Douglas
> Sent: Wednesday, August 01, 2007 4:34 PM
> To: [email protected]
> Subject: EBCDIC to ASCII conversion;
> 
> Running z/OS 1.7 I created a file EBCDIC.USERDATA and I would like to 
> transfer to an AIX server that only accepts Secured FTP connections.
> 
> I can NFS mount the file system and list the file with my Linux 
> mainframe system and use Linux sftp to send the file to the AIX server

> but it does not convert it from EBCDIC to ASCII.  I tried using scp 
> from the AIX server but that also saw the ebcdic data and treated it 
> as binary and transferred the file without converting it to ASCII.  I 
> don't care where the translation takes place but I am looking for some

> documented utility that converts ebcdic text file to ASCII.
> Can someone
> point me in the right direction?
> 
> Running z/OS 1.7; SuSE SLES9 s390x.
> 
> Thanks.
> 
> ----------------------------------------------------------------------
> For LINUX-390 subscribe / signoff / archive access instructions, send 
> email to [EMAIL PROTECTED] with the message: INFO LINUX-390 or 
> visit http://www.marist.edu/htbin/wlvindex?LINUX-390
> 
> 

"Email Firewall" made the following annotations.
------------------------------------------------------------------------
------

Warning: 
All e-mail sent to this address will be received by the corporate e-mail
system, and is subject to archival and review by someone other than the
recipient.  This e-mail may contain proprietary information and is
intended only for the use of the intended recipient(s).  If the reader
of this message is not the intended recipient(s), you are notified that
you have received this message in error and that any review,
dissemination, distribution or copying of this message is strictly
prohibited.  If you have received this message in error, please notify
the sender immediately.   
 
========================================================================
======

----------------------------------------------------------------------
For LINUX-390 subscribe / signoff / archive access instructions, send
email to [EMAIL PROTECTED] with the message: INFO LINUX-390 or
visit http://www.marist.edu/htbin/wlvindex?LINUX-390

----------------------------------------------------------------------
For LINUX-390 subscribe / signoff / archive access instructions,
send email to [EMAIL PROTECTED] with the message: INFO LINUX-390 or visit
http://www.marist.edu/htbin/wlvindex?LINUX-390

Reply via email to