On Thu, 18 Oct 2018 11:45:59 -0500, Matt Hogstrom wrote:

>I want to use scp to copy a pax to USS from my Mac by the file hash is wrong 
>and it’s not the same content.   Binary mode FTP works fine so I’m assuming 
>it’s some kind of automatic character conversion perhaps related to the ssh 
>config
>
>Anyone else seen this issue and have a suggestion?
> 
ssh unconditionally converts:
   Mac           z/OS
   ISO8859-1 IBM-1047

Can't be configured unless you have Dovetailed's Co:Z.

Otherwise, I've had success with:
    ssh user@z/OS "iconv -f IBM-1047 -t ISO8859-1 >target.pax" <source.pax

I hate EBCDIC!

-- gil

----------------------------------------------------------------------
For IBM-MAIN subscribe / signoff / archive access instructions,
send email to [email protected] with the message: INFO IBM-MAIN

Reply via email to