Or, more simply, install Dovetailed Technologies Co:Z Data Set utilities and use the todsn (for z/OS data sets) or tofile (z/OS UNIX files) to send files and fromdsn/fromfile to get them. And those utilities have options about code conversions to use as well. E.g. "binary" or "translate from ISO-8859-1 to CP-037" and line endings (end with CR, end with LF, end with CRLF, end with LFCR, end with almost anything else you want to specify).
On Mon, Nov 2, 2015 at 4:05 PM, Bigendian Smalls < [email protected]> wrote: > For binary you have to use sftp - uses the same back end as openssh. Very > easy to configure - couple settings in the sshd_config file. > > For hashing I use ported tools OpenSSL. > > openssl md5 <filename> > > that works great. > > > On Nov 2, 2015, at 15:29, Paul Gilmartin < > [email protected]> wrote: > > > >> On Mon, 2 Nov 2015 14:20:37 -0700, Jack J. Woehr wrote: > >> > >> Kirk Wolf wrote: > >>> BTW: the scp included in IBM Ported Tools OpenSSH always does > ASCII-EBCDIC > >>> conversion. > >> > >> Well, Kirk, you've answered my question. Indeed, the z/OS OpenSSH > User's Guide Version 2 Release 2 SC27-6806-00 says: > >> > >> scp assumes that files are text. Files copied between EBCDIC and > ASCII platforms are converted. > >> > >> OpenSSH scp for the entire rest of the computing universe assumes all > transfers are binary, and IBM has recoded it to > >> assume everything is text. > >> > >> *Thunk* (banging head against keyboard) > > IBM's sftp does binary, at least by default. I understand there's a > client command > > to select ASCII<->EBCDIC. > > > > I hate EBCDIC! > > > > -- gil > > > > ---------------------------------------------------------------------- > > For IBM-MAIN subscribe / signoff / archive access instructions, > > send email to [email protected] with the message: INFO IBM-MAIN > > ---------------------------------------------------------------------- > For IBM-MAIN subscribe / signoff / archive access instructions, > send email to [email protected] with the message: INFO IBM-MAIN > -- Schrodinger's backup: The condition of any backup is unknown until a restore is attempted. Yoda of Borg, we are. Futile, resistance is, yes. Assimilated, you will be. He's about as useful as a wax frying pan. 10 to the 12th power microphones = 1 Megaphone Maranatha! <>< John McKown ---------------------------------------------------------------------- For IBM-MAIN subscribe / signoff / archive access instructions, send email to [email protected] with the message: INFO IBM-MAIN
