IBM Z and LinuxONE IBM Z

  • 1.  Checksum Errors

    Posted Tue August 10, 2021 11:51 AM
    Hi,

    Trying to unpax ibm-make-v4.3.0-os390-s390x.2020-09-09.pax.Z

    pax -p p -r -f ../ibm-make-v4.3.0-os390-s390x.2020-09-09.pax.Z

    I get a checksum error.

    I have tried to unpack the file on my mac and the tar’ing the file and send to OMVS. Still get same error.

    As wget , git or curl are not available any idea’s how to get the file to OMVS that does not get a checksum error.

    Regards
    Tony


  • 2.  RE: Checksum Errors

    Posted Wed August 11, 2021 05:34 AM
    How did you get that file into the z/Os USS file system? Did you upload
    using *binary* ftp?




  • 3.  RE: Checksum Errors

    Posted Wed August 11, 2021 06:57 AM
    I used scp from my mac. wget, git curl not available on USS.

    Just tried cyberduck - all good

    Thanks for the FTP tip

    ------------------------------
    Tony Innes
    ------------------------------



  • 4.  RE: Checksum Errors

    Posted Wed August 11, 2021 10:29 AM
    Hi,
    scp does character conversion, which will fail for binaries. Using sftp will fix the problem – most likely this is why cyberduck worked.
    VB.

    ------------------------------
    Volker Birk
    p≡p project
    https://pEp.software
    ------------------------------



  • 5.  RE: Checksum Errors

    Posted Thu August 12, 2021 04:33 AM

    For future reference SSH supports SFTP and SCP, SFTP is a binary transfer, without any form of transcoding or character conversion and SCP will perform character conversion (so ASCII <--> EBCDIC and line endings too).  To make things more exciting most SCP clients can be told to run in SFTP mode or SCP mode, for most of the clients the default is SCP mode.

    FTP supports binary and text transmission, with text transmission the default. So, it could be used. The downside of ordinary FTP is that user credentials are passed on the wire in clear text - so it is not something to be used in a non secure environment; there is also the potential added complexity of active vs passive connections. Most FTP servers and clients can support the FTPS protocol, which uses SSL to protect the control channel.



    ------------------------------
    Chris Hill
    ------------------------------



  • 6.  RE: Checksum Errors

    Posted Thu August 12, 2021 05:24 AM
    Yes I used FTP, rather Cyberduck to transfer the file and the checksum was now fine.

    Regards
    Tony