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

Reply via email to