Mainframe PKZIP and and extracting using WINZIP

All other tools like QACenter, Strobe, Endevor, Telon, APAS, Scheduler, Auditor, DATA-XPERT, CoolGen, Intertest, AdvantageGen, COBTEST etc.

Mainframe PKZIP and and extracting using WINZIP

Postby archiegaw » Thu Apr 28, 2011 12:18 pm

I'm currently trying to zip mainframe file and download the file to be extracted using Winzip on Windows XP.

JCL USed below

Code: Select all
//STEP010 EXEC PGM=PKZIP                                             
//SYSPRINT DD  SYSOUT=*                                               
//SYSOUT   DD  SYSOUT=*                                               
//SYSIN    DD  *                                                     

The job completes successfully with a return code of zero and message below

Code: Select all
ZPAM030I OUTPUT Archive opened:  GD.TRANSFER.ZIP.TEST.ZIP                     
ZPAM254I   as G0262                                                           
ZPAM255I   (DEFLATED 89%/89%)  DATA SIZE 83,700; ZIP SIZE 8,932               
ZPAM140I                  0         1         0         0         0         0 
ZPMT002I PKZIP processing complete. RC=00000000 0(Dec) 

but when trying to extract the file using winzip , I'm getting the message below

"End-of-central-directory signature not found. Either this file is not a Zip file, or it constitutes one disk of a multi-part Zip file."

I also tried downloading PKZIP but also PKZIP is also umable to extract the downloaded file.

Any suggestions/Ideas?
Posts: 23
Joined: Mon Dec 14, 2009 9:10 am

Re: Mainframe PKZIP and and extracting using WINZIP

Postby NicC » Thu Apr 28, 2011 2:03 pm

Does it say anywhere that the m/f version of PKZIP produces zip files that are compatible with Windoze version of PKZIP? It may be possible but it may require special parameters. Check the documentation.
The problem I have is that people can explain things quickly but I can only comprehend slowly.
Global moderator
Posts: 2058
Joined: Sun Jul 04, 2010 12:13 am
Location: Down on the pig farm

Re: Mainframe PKZIP and and extracting using WINZIP

Postby Robert Sample » Thu Apr 28, 2011 2:42 pm

So, how did you transfer the file to a PC? If you used FTP, did you set it to binary before transferring the file -- zip files must be transferred in binary?
Robert Sample
Global moderator
Posts: 2698
Joined: Sat Dec 19, 2009 8:32 pm
Location: Atlanta, GA

Re: Mainframe PKZIP and and extracting using WINZIP

Postby MrSpock » Thu Apr 28, 2011 5:46 pm

Having used the PKZIP product before, I can test you that it's 100% compatible with the PKZIP 2.4g standard. We never had a problem with it on any other platform as long as their installed unzip product met that standard. I don't know what else to day other than contact the vendor and have them take a look, try installing the matching product on your windows machine, try it on another server, or, as a last resort, try creating a gzip-compatible archive and try it on a Unix box.
User avatar
Global moderator
Posts: 810
Joined: Wed Jun 06, 2007 9:37 pm
Location: Raleigh NC USA

Return to All Other Tools


  • Related topics
    Last post