View previous topic :: View next topic
|
Author |
Message |
amit039
New User
Joined: 08 Jul 2008 Posts: 7 Location: Chennai
|
|
|
|
Hi all,
Can anyone point out any utility on mainframes in order to zip a number of files together. It will be better if someone can point out a solution that doesn't involve some licensed software as PKZIP.
Thanks in anticipation.. |
|
Back to top |
|
|
Robert Sample
Global Moderator
Joined: 06 Jun 2008 Posts: 8696 Location: Dubuque, Iowa, USA
|
|
|
|
The mainframe does not come with any zipping software. You can pick up GZIP and GUNZIP which are open source. You could alternatively use pax or tax in Unix System Services. Or, you can pay the license fee for PKZIP, ZIP-390, INFO-ZIP and use them. |
|
Back to top |
|
|
enrico-sorichetti
Superior Member
Joined: 14 Mar 2007 Posts: 10873 Location: italy
|
|
|
|
what about a dfdss dump/copy with the compress option |
|
Back to top |
|
|
Robert Sample
Global Moderator
Joined: 06 Jun 2008 Posts: 8696 Location: Dubuque, Iowa, USA
|
|
|
|
enrico, it depends on what is desired by the o/p ... merely compressing the output file, in which case DFDSS DUMP/COPY with COMPRESS would be the way to go, or producing a zip file that can be read on other platforms which I don't believe DFDSS DUMP/COPY with COMPRESS can generate. Zip file formats can be quite specific. For example, gunzip cannot unzip a .ZIP file. |
|
Back to top |
|
|
enrico-sorichetti
Superior Member
Joined: 14 Mar 2007 Posts: 10873 Location: italy
|
|
|
|
since the OP was asking to junk a lots of file together,
I assumed he was not in a cross platform environment
but as usual, a generic question, gets most of the times generic answers,
and usually the wrong ones |
|
Back to top |
|
|
expat
Global Moderator
Joined: 14 Mar 2007 Posts: 8797 Location: Welsh Wales
|
|
|
|
What about the utility program for sending dumps etc. into IBM, PGM=TRSMAIN - usually get a decent compression ratio from that.
Code: |
//*
//TRSMAIN EXEC PGM=TRSMAIN,PARM=PACK UNPACK
//SYSPRINT DD SYSOUT=*
//INFILE DD DISP=SHR,DSN=xxxxxxx
//OUTFILE DD DISP=(NEW,CATLG),DSN=xxxxxxx.TRSMAIN,
// SPACE=(TRK,(750,150),RLSE),
// RECFM=FB,LRECL=1024
|
|
|
Back to top |
|
|
amit039
New User
Joined: 08 Jul 2008 Posts: 7 Location: Chennai
|
|
|
|
Hi all,
Thanks for Ur suggestions..The transfer is a cross platform transfer..I'm trying to use Gzip & Gunzip for zipping.. |
|
Back to top |
|
|
Robert Sample
Global Moderator
Joined: 06 Jun 2008 Posts: 8696 Location: Dubuque, Iowa, USA
|
|
|
|
GZIP and GUNZIP unfortunately only work on one file ... you may need to use tar to create a single file from the multiple files and then GZIP the tarball. |
|
Back to top |
|
|
|