Page 1 of 1

Problem with PKZIP

PostPosted: Wed May 16, 2012 11:15 am
by jobateast
I am just trying to zip a gdg generation file using pkzip and ndm it to a windows location; the user is getting an error message "Cannot open file: it does not appear to be a valid archive"
I tried unzipping it using pkunzip and the unzip file was good; not sure why they are unable to open it
I am just a beginner to pkzip, can you please let me know where can I have PKZIP documentation?
also what do these below code do
-TEXT
-GZIP(Y)

Re: Problem with PKZIP

PostPosted: Wed May 16, 2012 11:39 am
by NicC
As your organisation is using PKZIP it is presumably using a legal copy therefore documentation will be available somewhere in your organisation or they can get more - just ask around. If it is not legal copy no one can legally assist you.

Re: Problem with PKZIP

PostPosted: Wed May 16, 2012 5:38 pm
by jobateast
can you please let me know what does
-TEXT
-GZIP(Y)
does?

Re: Problem with PKZIP

PostPosted: Wed May 16, 2012 5:44 pm
by BillyBoyo
A quick google got me an MVS manual. I'm not going to read it for you. "pkzip manual" and there it was, right at the top (for me, anyway).

Re: Problem with PKZIP

PostPosted: Wed May 16, 2012 7:13 pm
by dick scherrer
Hello and welcome to the forum,

How was the file "sent"? A compressed file needs to be sent as "binary".

Re: Problem with PKZIP

PostPosted: Wed May 16, 2012 7:49 pm
by jobateast
-ECHO
-INDD(UNZIPPED)
-ARCHOUTDD(ZIPPED)
-TEXT
-GZIP(Y)
this is how I sent. I didnt specify the data type as text or binary; I took this from an existing production sysin & used

Re: Problem with PKZIP

PostPosted: Wed May 16, 2012 8:57 pm
by dick scherrer
Hello,

Suggest you look into -DATATYPE (iirc). I don't have the product / documentation at this client.

Re: Problem with PKZIP

PostPosted: Wed May 16, 2012 9:11 pm
by Akatsukami
jobateast wrote:-ECHO
-INDD(UNZIPPED)
-ARCHOUTDD(ZIPPED)
-TEXT
-GZIP(Y)
this is how I sent. I didnt specify the data type as text or binary; I took this from an existing production sysin & used

Oh?

Re: Problem with PKZIP

PostPosted: Wed May 30, 2012 1:41 pm
by sensuixel
The -TEXT argument set the DATA TYPE you're processing at TEXT (ie the content of the archive stored in ASCII).

The -GZIP(Y) argument means you're about to create an archive in GZIP format.