Check out the sample zip program supplied with JZOS -
com.ibm.jzos.sample.ZipDatasets in jzos_sample.jar.

it works with both MVS and unix files and the best thing is that for MVS input 
files, only the  high level qualifier
has to be specified in the parm field (no DD statements) and all files 
beginning with that HLQ will be zipped into 1 archive.
And the archive file is in the right code page to work with pc products like 
pzkip.

  

-----Original Message-----
From: IBM Mainframe Discussion List [mailto:IBM-MAIN@LISTSERV.UA.EDU] On Behalf 
Of John McKown
Sent: Friday, June 21, 2013 8:12 AM
To: IBM-MAIN@LISTSERV.UA.EDU
Subject: Re: free zIP/UNZIP in z/OS

In addition, for true ZIP file output, remember that the Java "jar" command 
actually reads and writes zip files. Unfortunately, it only supports z/OS UNIX 
files, not legacy z/OS data sets. Whether this is a bother or not depends on 
what the "far end" wants to do with the zip file contents. For the truly 
advanced person, GIMZIP is a very powerful way to package up z/OS legacy data 
sets (sequential, PDS, and VSAM) as well as UNIX resident files.

http://publibz.boulder.ibm.com/cgi-bin/bookmgr_OS390/BOOKS/gimrfr40/11.7

<quote>

The *GIMZIP* service routine creates portable packages of software and 
associated materials. Typically the packages will contain SYSMODs, RELFILE data 
sets, HOLDDATA, and associated materials such as documentation, samples, and 
text files. These *GIMZIP* packages may be transported through a network, 
processed by the GIMUNZIP service routine, and then processed by the SMP/E 
RECEIVE command.

More specifically, a *GIMZIP* package consists of a single package definition 
file, a set of archive files, and text files. The package definition file 
describes the total package and identifies the archive files and text files 
contained in the package. An archive file consists of
:

   1. a portable image of any of the following:

      - a sequential data set
      - a partitioned data set
      - a VSAM data set
      - a file in the UNIX file system
      - a directory in the UNIX file system

   2. and the information necessary to reload the data from the portable
   image.


 A single *GIMZIP* package typically consists of several archive files.

*Notes:*

 1. *GIMZIP* is a separate load module residing in the MIGLIB library and runs 
independently from the rest of SMP/E processing.

 2. *GIMZIP* requires either the Integrated Cryptographic Services Facility
(ICSF) One-Way Hash Generate callable service or Java 2 Version 1 Release 4 to 
be available for its use in order to compute an SHA-1 hash value.

</quote>


2013/6/21 Paolo Cacciari <paolo.cacci...@it.ibm.com>

> Jan,
>
> what about (IBM) TRSMAIN??? Should be imbedded in Z/OS release.....
>
>
> Paolo Cacciari
> Senior IT Specialist - Certified - IBM BCRS Italy
>
> IBM Italia S.p.A.
> Sede Legale: Circonvallazione Idroscalo - 20090 Segrate (MI) Cap. Soc. 
> euro 347.256.998,80 C. F. e Reg. Imprese MI 01442240030 - Partita IVA 
> 10914660153 Società con unico azionista Società soggetta all?attività 
> di direzione e coordinamento di International Business Machines 
> Corporation
>
> (Salvo che sia diversamente indicato sopra / Unless stated otherwise
> above)
>
> ----------------------------------------------------------------------
> For IBM-MAIN subscribe / signoff / archive access instructions, send 
> email to lists...@listserv.ua.edu with the message: INFO IBM-MAIN
>



--
This is a test of the Emergency Broadcast System. If this had been an actual 
emergency, do you really think we'd stick around to tell you?

Maranatha! <><
John McKown

----------------------------------------------------------------------
For IBM-MAIN subscribe / signoff / archive access instructions, send email to 
lists...@listserv.ua.edu with the message: INFO IBM-MAIN

----------------------------------------------------------------------
For IBM-MAIN subscribe / signoff / archive access instructions,
send email to lists...@listserv.ua.edu with the message: INFO IBM-MAIN

Reply via email to