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)
//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)
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?