On Sun, Nov 27, 2016 at 11:25 AM, Jack J. Woehr <[email protected]> wrote:
> Paul Gilmartin wrote: > >> From a UNIXy platform or Cygwin I might try (if desperate): >> > > IBM blundered with the 'scp' command on z/OS and made it automatically and > uncontrollably convert text. > I totally agree that this is a blunder. I do understand the basic "why" - scp uses the same channel as ssh. A ssh user connecting to a UNIX shell prompt must have their ASCII converted to EBCDIC, and vice versa, so that thinks "work as desired". I could imagine an ssh which talks "binary" to z/OS UNIX, but then _something_ either needs to convert the data to EBCDIC, or the entire z/OS UNIX environment needs to be ASCII (or Unicode) based. Hum, I can hear Gil's "I hate EBCDIC!" now [grin]. > > scp is universally outside z/OS a binary transfer protocol which knows > nothing whatsoever of the content it transfers. > Which screws the pooch when transferring "printable" text files between Windows & *IX because of Windows' use of CRLF as a composite end-of-line indicator. Windows -> *IX leaves a ^M (CR) as part of the "data" in a text file. *IX -> lacks the CR which is required by many Windows programs (Notepad being the main one I know of). > > z/OS users are forced onto the inferior sftp which in the Unix world is > merely an scp-knockoff nod to decades of scripting ftp. I agree. Which really won't change much of anything. > > > -- > Jack J. Woehr # Science is more than a body of knowledge. It's a way of > www.well.com/~jax # thinking, a way of skeptically interrogating the > universe > www.softwoehr.com # with a fine understanding of human fallibility. - > Carl Sagan > -- Heisenberg may have been here. Unicode: http://xkcd.com/1726/ Maranatha! <>< John McKown ---------------------------------------------------------------------- For IBM-MAIN subscribe / signoff / archive access instructions, send email to [email protected] with the message: INFO IBM-MAIN
