Re: SCP of file to USS from Mac is corrupted

2018-10-19 Thread Paul Gilmartin
On Thu, 18 Oct 2018 18:06:34 -0700, Tom Brennan wrote: > > beautiful EBCDIC encoding and the podunk, 7-bit, toy-computer ASCII >encoding > >Poking the I HATE EBCDIC bear? :) > If the reader ignores the bigotry, he stated a true fact about ASCII. But it's irrelevant since ssh (and I assume scp)

Re: SCP of file to USS from Mac is corrupted

2018-10-18 Thread Jack J. Woehr
On 10/18/2018 4:41 PM, Paul Gilmartin wrote: IBM went wonko porting SCP to z/OS and turned it into a text-only transfer, despite its being binary-only on all other platforms including IBM i. Are any of those other platforms EBCDIC? Doesn't matter. Unicode, ASCII, no difference in SCP. SCP i

Re: SCP of file to USS from Mac is corrupted

2018-10-18 Thread Jackson, Rob
ile to USS from Mac is corrupted [External Email] > beautiful EBCDIC encoding and the podunk, 7-bit, toy-computer ASCII encoding Poking the I HATE EBCDIC bear? :) When I wrote up some doc showing application programmers how to setup mainframe SSH keys, the example showed scp to transfer th

Re: SCP of file to USS from Mac is corrupted

2018-10-18 Thread Tom Brennan
> beautiful EBCDIC encoding and the podunk, 7-bit, toy-computer ASCII encoding Poking the I HATE EBCDIC bear? :) When I wrote up some doc showing application programmers how to setup mainframe SSH keys, the example showed scp to transfer the text public key to the non-mainframe box. It was

Re: SCP of file to USS from Mac is corrupted

2018-10-18 Thread Paul Gilmartin
On Fri, 19 Oct 2018 00:27:17 +, Jackson, Rob wrote: >The SFTP file-transfer add-on using the SSH protocol on z/OS, at least with >the OpenSSH port, is the only one I know of that allows conversion between the >beautiful EBCDIC encoding and the podunk, 7-bit, toy-computer ASCII encoding. >

Re: SCP of file to USS from Mac is corrupted

2018-10-18 Thread Jackson, Rob
-MAIN@LISTSERV.UA.EDU Subject: Re: SCP of file to USS from Mac is corrupted [External Email] On Thu, 18 Oct 2018 13:18:55 -0600, Jack J. Woehr wrote: >On 10/18/2018 10:45 AM, Matt Hogstrom wrote: >> I want to use scp to copy a pax to USS from my Mac by the file hash is wrong >> a

Re: SCP of file to USS from Mac is corrupted

2018-10-18 Thread Paul Gilmartin
On Thu, 18 Oct 2018 13:18:55 -0600, Jack J. Woehr wrote: >On 10/18/2018 10:45 AM, 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. > >IBM went wonko porting SCP to z/OS and turned it into a text-only >transfer,

Re: SCP of file to USS from Mac is corrupted

2018-10-18 Thread Jack J. Woehr
On 10/18/2018 10:45 AM, 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. IBM went wonko porting SCP to z/OS and turned it into a text-only transfer, despite its being binary-only on all other platforms including

Re: SCP of file to USS from Mac is corrupted

2018-10-18 Thread Paul Gilmartin
On Thu, 18 Oct 2018 13:51:05 -0500, Matt Hogstrom wrote: >Thanks. I understand that but I’ve run into people that can scp binary data >without being affected by code page translation but they don’t know why or how >they are setup > o From a Mac or from other (specify)? o To the same z/OS syste

Re: SCP of file to USS from Mac is corrupted

2018-10-18 Thread Matt Hogstrom
I’ll give that a go. I wasn’t sure if some odd combo like _BPXK_AUTOCNVT or other weird freaky setting to mask the EBCDIC problem was well understood Matt Hogstrom +1 (919) 656-0564 > On Oct 18, 2018, at 12:26, Paul Gilmartin > <000433f07816-dmarc-requ...@listserv.ua.edu> wrote: > >> On T

Re: SCP of file to USS from Mac is corrupted

2018-10-18 Thread Matt Hogstrom
Thanks. I understand that but I’ve run into people that can scp binary data without being affected by code page translation but they don’t know why or how they are setup Matt Hogstrom +1 (919) 656-0564 > On Oct 18, 2018, at 12:17, Don Poitras wrote: > > Unix System Services uses whatever you

Re: SCP of file to USS from Mac is corrupted

2018-10-18 Thread Paul Gilmartin
On Thu, 18 Oct 2018 13:17:07 -0400, Don Poitras wrote: >Unix System Services uses whatever you tell it to use. I can edit >ascii files or binary files. It's scp that's deficient in my opinion. >There should be an option to do binary copies. > z/OS ssh converts unditionally. The fault is on the z

Re: SCP of file to USS from Mac is corrupted

2018-10-18 Thread Paul Gilmartin
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 >confi

Re: SCP of file to USS from Mac is corrupted

2018-10-18 Thread Don Poitras
Unix System Services uses whatever you tell it to use. I can edit ascii files or binary files. It's scp that's deficient in my opinion. There should be an option to do binary copies. In article you wrote: > Unix System Services uses EBCDIC. > On Thu, Oct 18, 2018 at 11:47 AM Matt Hogstrom wrot

Re: SCP of file to USS from Mac is corrupted

2018-10-18 Thread Mike Schwab
Unix System Services uses EBCDIC. On Thu, Oct 18, 2018 at 11:47 AM 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 conversio

SCP of file to USS from Mac is corrupted

2018-10-18 Thread Matt Hogstrom
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? Matt Ho