Making a VMS .ZIP Archive
$ ZIP/LEVEL=9/VMS archive_name filespec
“archive_name” need not include a filetype extension, defaults to .ZIP (Caveat: Beware of logical names!)
“filespec” can include wild-cards
If path is wild-carded, ZIP will recurse directories.Example: [...]*.*
Notes:
To make a .ZIP archive for VMS, invoke the Zip program using the /VMS qualifier. This will preserve all RMS file and record attributes by storing them in the archive.
The “archive_name” need not include the .ZIP filetype extension, the default extension of .ZIP will be applied. Be careful not to use an archive_name that is also a logical name, as this can produce unexpected results.
The “filespec” parameter can include wildcards. If the path is wildcarded, Zip will recurse directories by default.