Operating System - OpenVMS
1753774 Members
7151 Online
108799 Solutions
New Discussion юеВ

Re: VMS command to convert .GZ file to .ZIP

 
Kenneth Toler
Frequent Advisor

VMS command to convert .GZ file to .ZIP

Is there a VMS command in OpenVMS 8.3 to convert a .GZ (GZIP-UNIX based) compressed file to a .ZIP (Windows XP) file?

If not, is there another method to cause Windows XP to recognize and convert a .GZ file to a .ZIP file?
6 REPLIES 6
Steven Schweda
Honored Contributor

Re: VMS command to convert .GZ file to .ZIP

"gzip" (or "gunzip") is available for VMS, as
is Info-ZIP Zip. "gzip" is probably also
available for Windows. If the ".gz" file is
a compressed "tar" archive, things get more
complicated, but there are at least a couple
of "tar" programs for VMS, too.

http://antinode.org/dec/sw/gzip.html
http://antinode.org/ftp/vmstar/v3r5_pre2_src.zip
http://www.info-zip.org/
Steven Schweda
Honored Contributor

Re: VMS command to convert .GZ file to .ZIP

So, not directly, but it could be done.
Hoff
Honored Contributor

Re: VMS command to convert .GZ file to .ZIP

gzip and zip tools are common on many platforms.

zip is not specific to Microsoft Windows XP.

The gzip (gunzip) tool is available for most platforms including for OpenVMS and for Windows, and for most (all?) Unix and Linux platforms.

zip and unzip are also available for most platforms, including OpenVMS.

Here is gzip (which is also gunzip) and zip for OpenVMS from one of the Freeware archives.

http://mvb.saic.com/freeware/freewarev80/000tools/

Here's the canonical zip and unzip site:

http://info-zip.org/

I'd probably dig up a copy of gzip (gunzip) for Microsoft Windows, and "go directly" using the gzip file. Like here:

http://gnuwin32.sourceforge.net/packages/gzip.htm

And here's the gzip site:

http://www.gzip.org/

Or I'd use gzip (gunzip) on OpenVMS, depending on which direction the file is going.

If working on OpenVMS, there's a procedure in 000TOOLS that sets up the foreign commands needed to access the various pre-built tools.

But if you want, you can unpack (gunzip) and then re-pack (zip) and then transfer. On Windows. On Linux. Or OpenVMS.

If you have a copy of the OpenVMS Freeware V8.0 distro locally, you have a copy of 000TOOLS.

Alex Chupahin
Super Advisor

Re: VMS command to convert .GZ file to .ZIP

Also, there is a latest version 1.3.3 of gzip
a largefile bug-free:
http://fafner.dyndns.org/~alexey/index.html

Or direct download link:
http://fafner.dyndns.org/~alexey/gzip-1_3_3-vms.zip
Steven Schweda
Honored Contributor

Re: VMS command to convert .GZ file to .ZIP

> Also, there is a latest version 1.3.3 of
> gzip [...]

The latest version I see at

http://ftp.gnu.org/gnu/gzip/

is 1.3.12. For VMS, you might consider

http://antinode.info/dec/sw/gzip.html
Alex Chupahin
Super Advisor

Re: VMS command to convert .GZ file to .ZIP

Thank you,
I refered http://www.gzip.org/ and found the latest 1.3.3, so it leaded me to mistake.
Sorry.