Gil,


You need to  download the jzos samples from http://www.dovetail.com/

You do not need JZOS to run  ZipDatasets or the other samples - just the jar 
file.

The samples are java programs that can be run from OMVS or OSHELL in batch.

You will need the java compiler in your path and jzos_sample.jar in the 
classpath-

(PATH=/usr/lpp/java/J1.6 in profile)



Here is a job that I use:


//ZIP      EXEC  PGM=IKJEFT01,
 //             REGION=0M,
 //             DYNAMNBR=40
 //SYSEXEC  DD  DISP=SHR,DSN=SYS1.SBPXEXEC
 //ISPMLIB  DD  DISP=SHR,DSN=SYS1.ISP.SISPMENU
 //         DD  DISP=SHR,DSN=SYS1.SBPXMENU
 //ISPPLIB  DD  DISP=SHR,DSN=SYS1.ISP.SISPPENU
 //         DD  DISP=SHR,DSN=SYS1.SBPXPENU
 //ISPSLIB  DD  DISP=SHR,DSN=SYS1.ISP.SISPSLIB
 //         DD  DISP=SHR,DSN=SYS1.ISP.SISPSENU
 //ISPPROF  DD  UNIT=SYSDA,SPACE=(CYL,(10,10,100)),
 //         RECFM=FB,LRECL=80,BLKSIZE=0
 //ISPTLIB  DD  DISP=SHR,DSN=SYS1.ISP.SISPTENU
 //         DD  DISP=SHR,DSN=SYS1.SBPXTENU
 //SYSTSPRT DD  SYSOUT=*
 //SYSTSIN  DD  DATA,DLM=$$
 OSHELL cd /u/eileen    ; +
 .profile
java -cp /u/eileen/j1x/jzos/jzos230/jzos_sample.jar       +
com.ibm.jzos.sample.ZipDatasets +
  stats.zip XCICS.STAT.CICSA XCICS.STAT.CICSB
 $$







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



On 2013-06-21, at 08:23, Barkow, Eileen wrote:



> I use _BPX_SHAREAS=REUSE in my profiles

>

I was unfamiliar with REUSE.  But somewhere I find "REUSE is the same as YES".



> Thanks Paul for the info about ZipDatsets  - I was only going by  what

> I run based on the documentation given with the JZOS sample programs several 
> years ago.

>

> http://www.ibm.com/developerworks/java/zos/javadoc/jzos/com/ibm/jzos/s

> ample/ZipDatasets.html



Where do I find this thing?  How do I use it?  Do I need to export a CLASSPATH? 
 Do I need to put something else in my PATH?  do I need to be a member of 
developerworks?



(I don't do much Java.)



Thanks,

gil



----------------------------------------------------------------------

For IBM-MAIN subscribe / signoff / archive access instructions, send email to 
lists...@listserv.ua.edu<mailto: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