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

//STEP010 EXEC PGM=PKZIP                                             
//SYSPRINT DD  SYSOUT=*                                               
//SYSOUT   DD  SYSOUT=*                                               
//ZIPIN    DD  DSN=GD.TRANSFER.MONTH.HPGOALS.SSDIPRM.G0262,DISP=SHR   
//SYSIN    DD  *                                                     
-ECHO                                                                 
-ACTION(UPDATE)                                                       
-ARCHIVE_DSN(GD.TRANSFER.ZIP.TEST.ZIP)                               
-PATH(N)                                                             
-INDD(ZIPIN)


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

ZPAM030I OUTPUT Archive opened:  GD.TRANSFER.ZIP.TEST.ZIP                     
ZPAM253I ADDED     File GD.TRANSFER.MONTH.HPGOALS.SSDIPRM.G0262               
ZPAM254I   as G0262                                                           
ZPAM255I   (DEFLATED 89%/89%)  DATA SIZE 83,700; ZIP SIZE 8,932               
ZPAM140I FILES:   FRESHENED     ADDED    COPIED  EXCLUDED  BYPASSED  IN ERROR 
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?
archiegaw
 
Posts: 23
Joined: Mon Dec 14, 2009 9:10 am
Has thanked: 0 time
Been thanked: 0 time

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.
Regards
Nic
NicC
Global moderator
 
Posts: 3025
Joined: Sun Jul 04, 2010 12:13 am
Location: Pushing up the daisies (almost)
Has thanked: 4 times
Been thanked: 136 times

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: 3720
Joined: Sat Dec 19, 2009 8:32 pm
Location: Dubuque, Iowa, USA
Has thanked: 1 time
Been thanked: 279 times

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
MrSpock
Global moderator
 
Posts: 809
Joined: Wed Jun 06, 2007 9:37 pm
Location: Raleigh NC USA
Has thanked: 0 time
Been thanked: 4 times


Return to All Other Tools

 


  • Related topics
    Replies
    Views
    Last post