Problem with PKZIP



JES, JES2, JCL utilities, IDCAMS, Compile & Run JCLs, PROCs etc...

Problem with PKZIP

Postby jobateast » Wed May 16, 2012 11:15 am

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)
jobateast
 
Posts: 4
Joined: Tue May 04, 2010 4:57 pm
Has thanked: 1 time
Been thanked: 0 time

Re: Problem with PKZIP

Postby NicC » Wed May 16, 2012 11:39 am

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.
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: Problem with PKZIP

Postby jobateast » Wed May 16, 2012 5:38 pm

can you please let me know what does
-TEXT
-GZIP(Y)
does?
jobateast
 
Posts: 4
Joined: Tue May 04, 2010 4:57 pm
Has thanked: 1 time
Been thanked: 0 time

Re: Problem with PKZIP

Postby BillyBoyo » Wed May 16, 2012 5:44 pm

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).

These users thanked the author BillyBoyo for the post:
jobateast (Wed May 16, 2012 6:01 pm)
BillyBoyo
Global moderator
 
Posts: 3804
Joined: Tue Jan 25, 2011 12:02 am
Has thanked: 22 times
Been thanked: 265 times

Re: Problem with PKZIP

Postby dick scherrer » Wed May 16, 2012 7:13 pm

Hello and welcome to the forum,

How was the file "sent"? A compressed file needs to be sent as "binary".
Hope this helps,
d.sch.
User avatar
dick scherrer
Global moderator
 
Posts: 6268
Joined: Sat Jun 09, 2007 8:58 am
Has thanked: 3 times
Been thanked: 93 times

Re: Problem with PKZIP

Postby jobateast » Wed May 16, 2012 7:49 pm

-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
jobateast
 
Posts: 4
Joined: Tue May 04, 2010 4:57 pm
Has thanked: 1 time
Been thanked: 0 time

Re: Problem with PKZIP

Postby dick scherrer » Wed May 16, 2012 8:57 pm

Hello,

Suggest you look into -DATATYPE (iirc). I don't have the product / documentation at this client.
Hope this helps,
d.sch.
User avatar
dick scherrer
Global moderator
 
Posts: 6268
Joined: Sat Jun 09, 2007 8:58 am
Has thanked: 3 times
Been thanked: 93 times

Re: Problem with PKZIP

Postby Akatsukami » Wed May 16, 2012 9:11 pm

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?
"You have sat too long for any good you have been doing lately ... Depart, I say; and let us have done with you. In the name of God, go!" -- what I say to a junior programmer at least once a day
User avatar
Akatsukami
Global moderator
 
Posts: 1058
Joined: Sat Oct 16, 2010 2:31 am
Location: Bloomington, IL
Has thanked: 6 times
Been thanked: 51 times

Re: Problem with PKZIP

Postby sensuixel » Wed May 30, 2012 1:41 pm

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.
sensuixel
 
Posts: 58
Joined: Mon Feb 21, 2011 8:55 pm
Has thanked: 0 time
Been thanked: 0 time


Return to JCL

 


  • Related topics
    Replies
    Views
    Last post