jar is zip compatible. https://docs.oracle.com/javase/8/docs/technotes/guides/jar/jarGuide.html
Also the Java sdk has an API to read/write zip / deflate files. There is a JZOS sample program that shows how to create a zip archive using z/OS data sets as input / output. https://github.com/zsystems/java-samples/blob/master/ZipDatasets.java On Sun, Jun 30, 2019 at 3:46 PM Paul Gilmartin < [email protected]> wrote: > On Sun, 30 Jun 2019 20:34:19 +0000, Denis wrote: > > >I wonder if the jar command of the Java SDK in z/OS creates gzip > compatible jar files, which in Windows can be extracted/used by renaming > Form .jar to .ZIP.I cannot remember if the jar compression uses ziip.Any > file type can be added to a jar, but I have not tried dd names. > > > I believe jar uses zip deflate. I've used it to unpack zipped files from > cbttape.org. > I believe jar isn't fussy about filenames -- you can bypass the rename. > Jar syntax is most similar to tar. > > -- gil > > ---------------------------------------------------------------------- > For IBM-MAIN subscribe / signoff / archive access instructions, > send email to [email protected] with the message: INFO IBM-MAIN > ---------------------------------------------------------------------- For IBM-MAIN subscribe / signoff / archive access instructions, send email to [email protected] with the message: INFO IBM-MAIN
