z/OS Tools & Language

Expand all | Collapse all

UNZIP error:  invalid compressed data to inflate

  • 1.  UNZIP error:  invalid compressed data to inflate

    Posted 11-10-2020 08:39
    Edited by Josema Fdez. Palacios 11-11-2020 03:19
    We are trying to unzip a file on the zOS and the same error always occurs.

    P083598:/u/p083598:>unzip /tmp/BM/NombresDowJones.zip
    Archive:  /tmp/BM/NombresDowJones.zip                
      inflating: NombresDowJones.dat                     
      error:  invalid compressed data to inflate  


    However apparently the file is correct ...

    P083598:/u/p083598:>unzip -v /tmp/BM/NombresDowJones.zip                       
    Archive:  /tmp/BM/NombresDowJones.zip                                          
     Length   Method    Size  Cmpr    Date    Time   CRC-32   Name                 
    --------  ------  ------- ---- ---------- ----- --------  ----                 
    4161745409  Defl:N 99007078  98% 11-09-2020 08:42 be254805  NombresDowJones.dat
    --------          -------  ---                            -------              
    4161745409         99007078  98%                            1 file             


    I tried to download the file to a Linux system (RHEL) and there the unzip works perfectly

    Could it be due to the size of the file we tried to decompress (>4Gb)?

    ------------------------------
    Josema Fdez. Palacios
    I.B.M.
    ------------------------------


  • 2.  RE: UNZIP error:  invalid compressed data to inflate

    Posted 11-11-2020 05:47
    I downloaded the last build of the unzip (6,0_b007.170811) and now it works fine with files > 4Gb ...

    ------------------------------
    Josema Fdez. Palacios
    I.B.M.
    ------------------------------



  • 3.  RE: UNZIP error:  invalid compressed data to inflate

    Posted 11-13-2020 09:17
    Glad that did the trick Josema. Reach out if we can help with any other issues or questions.

    ------------------------------
    Dave Andrews
    Head of Customer Engagement
    Rocket Software
    ------------------------------