Re: SFTP between AIX to Mainframe

2018-12-12 Thread Kirk Wolf
Venkat, The reason for this can be found clearly hidden in the z/OS OpenSSH User's Guide, CH 4: By default, sftp assumes that files are binary. Files transferred between EBCDIC and ASCII platforms are not converted. ... By default, scp performs ASCII/EBCDIC conversion on files. For more informat

Re: SFTP between AIX to Mainframe

2018-12-12 Thread Tony Harminc
On Wed, 12 Dec 2018 at 05:42, venkat kulkarni wrote: > Hello Group, > > We identified the issue and resolve it and the solution is, if we use SCP > to transfer file from AIX to Mainframe, data gets corrupt during > transmission. > But when we use SFTP to transfer file from AIX to Mainframe, thi

Re: SFTP between AIX to Mainframe

2018-12-12 Thread Jack J. Woehr
On 12/12/2018 3:41 AM, venkat kulkarni wrote: We identified the issue and resolve it and the solution is, if we use SCP to transfer file from AIX to Mainframe, data gets corrupt during transmission. This is because IBM implemented z/OS SCP incorrectly. SCP on z/OS treats all data as characte

Re: SFTP between AIX to Mainframe

2018-12-12 Thread venkat kulkarni
Hello Group, We identified the issue and resolve it and the solution is, if we use SCP to transfer file from AIX to Mainframe, data gets corrupt during transmission. But when we use SFTP to transfer file from AIX to Mainframe, this process works perfectly. I am unable to find reason, why SCP ca

Re: SFTP between AIX to Mainframe

2018-12-10 Thread Paul Gilmartin
On Mon, 10 Dec 2018 21:01:36 +0300, venkat kulkarni wrote: >Hello All, > >We have strange SFTP output cases. > >1) We had requirement of sending ascii file using SFTP from Solaris to >Mainframe . So, we used DD command to convert this ascii file into ebcdic > Please supply more information for di

Re: SFTP between AIX to Mainframe

2018-12-10 Thread Kirk Wolf
With Co:Z SFTP on z/OS, you can do this from AIX: aix> sftp myu...@myzos.com sftp> ls /+mode=text,clientcp=ISO8859-1,servercp=IBM-1047 sftp> put aix.file //hlq.zos.data Kirk Wolf Dovetailed Technologies PS> Co:Z SFTP is available free under our Community License, Enterprise License and Support

Re: SFTP between AIX to Mainframe

2018-12-10 Thread Paul Gilmartin
On Mon, 10 Dec 2018 21:24:08 +0300, venkat kulkarni wrote: >Non readable format means in ebcdic format. > ??? I would that on the mainframe you should want it in EBCDIC format. >> On Mon, 10 Dec 2018 21:01:36 +0300, venkat kulkarni wrote: >> > >> >1) We had requirement of sending ascii file us

Re: SFTP between AIX to Mainframe

2018-12-10 Thread venkat kulkarni
Non readable format means in ebcdic format. On Mon, Dec 10, 2018 at 9:18 PM Paul Gilmartin < 000433f07816-dmarc-requ...@listserv.ua.edu> wrote: > On Mon, 10 Dec 2018 21:01:36 +0300, venkat kulkarni wrote: > > > >We have strange SFTP output cases. > > > >1) We had requirement of sending as

Re: SFTP between AIX to Mainframe

2018-12-10 Thread Paul Gilmartin
On Mon, 10 Dec 2018 21:01:36 +0300, venkat kulkarni wrote: > >We have strange SFTP output cases. > >1) We had requirement of sending ascii file using SFTP from Solaris to >Mainframe . So, we used DD command to convert this ascii file into ebcdic > >using conv parameter and CBS size equal to record

Re: SFTP between AIX to Mainframe

2018-12-10 Thread venkat kulkarni
Hello All, We have strange SFTP output cases. 1) We had requirement of sending ascii file using SFTP from Solaris to Mainframe . So, we used DD command to convert this ascii file into ebcdic using conv parameter and CBS size equal to record length of mainframe dataset and then receive the file f

RES: SFTP between AIX to Mainframe

2018-12-10 Thread Carlos Bodra - Pessoal
Assunto: SFTP between AIX to Mainframe Hello Group, We have some FTP job enabled b/w AIX to MF and now we have requirement to convert them into SFTP. But as AIX is ascii and MF is EBCDIC system. How this transfer will work. Also, currently FTP process use ascii mode to transfer data and SFTP is

Re: SFTP between AIX to Mainframe

2018-12-09 Thread Timothy Sipples
Or, if the requirement is not for SFTP specifically but to encrypt the connection, then switch to FTPS. Please note that encryption is (almost always) a necessary ingredient to achieve a desired security outcome, but it is rarely sufficient. This data movement might even be fundamentally incompati

Re: SFTP between AIX to Mainframe

2018-12-09 Thread Paul Gilmartin
On Sun, 9 Dec 2018 19:34:48 +0300, venkat kulkarni wrote: >Hello Group, > >We have some FTP job enabled b/w AIX to MF and now we have requirement to >convert them into SFTP. > >But as AIX is ascii and MF is EBCDIC system. How this transfer will work. >Also, currently FTP process use ascii mode to

SFTP between AIX to Mainframe

2018-12-09 Thread venkat kulkarni
Hello Group, We have some FTP job enabled b/w AIX to MF and now we have requirement to convert them into SFTP. But as AIX is ascii and MF is EBCDIC system. How this transfer will work. Also, currently FTP process use ascii mode to transfer data and SFTP is available only with binary mode how this