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 agreements are also available.
http://dovetail.com/support.html

On Sun, Dec 9, 2018 at 11:21 AM Paul Gilmartin <
0000000433f07816-dmarc-requ...@listserv.ua.edu> wrote:

> 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 transfer data and SFTP is
> >available only with binary mode how this whole process will work .
> >
> Check the Co:Z enhancements from Dovetailed.
>
> Or, use ssh which does the translation:
>     cat AIX.file | ssh zOS "cat >z/OS.file"
> Or:
>     cat AIX.file | ssh zOS "iconv -f ISO8859-1 -t IBM-1047 >z/OS.file"
>
> (And once you set up the ssh keys, you needn't send a password.)
>
> If you replace "cat" with "pax", you can transmit a whole directory
> hirearchy.
>
> -- gil
>
> ----------------------------------------------------------------------
> For IBM-MAIN subscribe / signoff / archive access instructions,
> send email to lists...@listserv.ua.edu with the message: INFO IBM-MAIN
>

----------------------------------------------------------------------
For IBM-MAIN subscribe / signoff / archive access instructions,
send email to lists...@listserv.ua.edu with the message: INFO IBM-MAIN

Reply via email to