I zipped a file in C# using Rebex DLLs.
But , I am unable to unzip that file in IBM Mainframe's zOS and SUNOS(Solaris Unix Operating System 5.8). I am unable to unzip even in other versions of SUNOS.
This is the error message that I get in SUNOS. Please note that the names "IMMSUM","IMMCPLKP","IMMCNCPT" are file names inside the zip.
Error message from unzip on Sun Station = <<zipfilename>>
indsun1:pdv1:/export/home/is/dvop/testzip $ unzip <<zipfilename>>
Archive: <<zipfilename>>
error [<<zipfilename>>]: missing 242 bytes in zipfile
(attempting to process anyway)
error [<<zipfilename>>]: attempt to seek before beginning of zipfile
(please check that you have transferred or created the zipfile in the
appropriate BINARY mode and that you have compiled UnZip properly)
(attempting to re-compensate)
inflating: IMMSUM
inflating: IMMCPLKP
inflating: IMMCNCPT bad CRC 2bba2f4e (should be 42210124)
file #3: bad zipfile offset (local header sig): 859072
(attempting to re-compensate)
file #3: bad zipfile offset (local header sig): 859072
file #4: bad zipfile offset (local header sig): 858932
file #5: bad zipfile offset (local header sig): 859043
file #6: bad zipfile offset (local header sig): 859645
file #7: bad zipfile offset (local header sig): 1428435
file #8: bad zipfile offset (local header sig): 1438343
file #9: bad zipfile offset (local header sig): 1438410
file #10: bad zipfile offset (local header sig): 1438477
file #11: bad zipfile offset (local header sig): 1438623
file #12: bad zipfile offset (local header sig): 1438995