- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - OpenVMS
- >
- Zip in VMS
Categories
Company
Local Language
Forums
Discussions
Forums
- Data Protection and Retention
- Entry Storage Systems
- Legacy
- Midrange and Enterprise Storage
- Storage Networking
- HPE Nimble Storage
Discussions
Forums
Discussions
Discussions
Discussions
Forums
Discussions
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
- BladeSystem Infrastructure and Application Solutions
- Appliance Servers
- Alpha Servers
- BackOffice Products
- Internet Products
- HPE 9000 and HPE e3000 Servers
- Networking
- Netservers
- Secure OS Software for Linux
- Server Management (Insight Manager 7)
- Windows Server 2003
- Operating System - Tru64 Unix
- ProLiant Deployment and Provisioning
- Linux-Based Community / Regional
- Microsoft System Center Integration
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Community
Resources
Forums
Blogs
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-14-2004 07:48 PM
07-14-2004 07:48 PM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-14-2004 08:15 PM
07-14-2004 08:15 PM
Re: Zip in VMS
Zip doesn't accept directory specs as VMS does. Use *.*/recurs to go down to all directories.
Wim
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-14-2004 08:16 PM
07-14-2004 08:16 PM
Re: Zip in VMS
$ zip "-V9" COM.ZIP [...]*.COM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-14-2004 08:17 PM
07-14-2004 08:17 PM
Re: Zip in VMS
http://www.djesys.com/vms/support/powerpnt/zipunzip.ppt
And note that for big zip that /level=1 is faster and compresses sufficiently.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-14-2004 08:20 PM
07-14-2004 08:20 PM
Re: Zip in VMS
But in sudirectories i do't want all the files in zip for example .lis,.map and should i give /exclude=(.map,*.lis) qualifier
Deepak
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-14-2004 08:22 PM
07-14-2004 08:22 PM
Re: Zip in VMS
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-14-2004 08:28 PM
07-14-2004 08:28 PM
Re: Zip in VMS
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-14-2004 08:34 PM
07-14-2004 08:34 PM
Re: Zip in VMS
zip -r9V bc23backup.zip -x krSHNA$DKA100:[WORK...]*.* /exclude=(*.lis,*.
exe,*.zip,*.map)
its giving error
zip error: Invalid command arguments (nothing to select from)
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-14-2004 08:42 PM
07-14-2004 08:42 PM
Re: Zip in VMS
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-14-2004 09:06 PM
07-14-2004 09:06 PM
Re: Zip in VMS
i have given command
zip "-V9" bc23backup.zip krSHNA$DKA100:[WORK.BC3.0...]*.* krSHNA$DKA100:[WORK...]*.lis,*.exe,*.map,*.obj,*.objd -x
adding: [.BUILD09.OSVM]LOGGER.LIS (deflated 79%)
adding: [.BUILD09.OSVM]LOGGER.OBJ (deflated 83%)
where i am going worng
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-14-2004 09:08 PM
07-14-2004 09:08 PM
Re: Zip in VMS
zip/vms bc23backup.zip krSHNA$DKA100:[WORK...]*.* /exclude=(*.lis,*.
exe,*.zip,*.map)
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-14-2004 09:19 PM
07-14-2004 09:19 PM
Re: Zip in VMS
zip/vms "-V9" bc23backup.zip krSHNA$DKA100:[WORK.bc3.0...]*.* /exclude=(*.lis
,*.exe,*.map,*.obj,*.objd)
zip warning: name not matched: bc23backup.zip
zip warning: name not matched: /exclude=(*.lis,*.exe,*.map,*.obj,*.objd)
adding: 27JAN.SAVESET (deflated 17%)
adding: [.BR] (stored 0%)
adding: [.BUILD] (stored 0%)
adding: [.BUILD09] (stored 0%)
adding: [.BUILD10] (stored 0%)
adding: [.BUILD11] (stored 0%)
adding: [.BUILD]CLUSTERNAME.EXE (deflated 68%)
adding: [.BUILD]HOSTINFO.EXE (deflated 71%)
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-14-2004 09:26 PM
07-14-2004 09:26 PM
Re: Zip in VMS
-V = /vms
-9 = /level=9, will use more cpu to compress a little more. I would use /level=1 and default is 6.
If not working, do zip and tell us what version you are using.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-14-2004 09:43 PM
07-14-2004 09:43 PM
Re: Zip in VMS
Copyright (C) 1990-1999 Info-ZIP
Type 'zip "-L"' for software license.
Zip 2.3 (November 29th 1999).
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-14-2004 09:45 PM
07-14-2004 09:45 PM
Re: Zip in VMS
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-14-2004 10:02 PM
07-14-2004 10:02 PM
Re: Zip in VMS
Did you try
zip/vms bc23backup.zip krSHNA$DKA100:[WORK.bc3.0...] /exclude=(*.lis,*.exe,*.map,*.obj,*.objd)
WITHOUT the unix mode qualifiers ?
(My version is not accepting them)
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-14-2004 10:08 PM
07-14-2004 10:08 PM
Re: Zip in VMS
zip use unix style qualifier.
I guess your command mey be this:
zip "-V9" bc23backup.zip krSHNA$DKA100:[WORK.BC3.0...]*.* krSHNA$DKA100:[WORK...]-x *.lis,*.exe,*.map,*.obj,*.objd
Best Regards
Antonio Vigliotti
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-18-2004 01:37 PM
07-18-2004 01:37 PM
Solutionthere has been quite a bit of confusion here
concerning zip commandline syntax. Zip can actually be build with a DCL style interface (/level=9 etc.) or the Unix style interface (-9). One important thing to note is that you can not mix and match the two interfaces. You either have to use all DCL or all Unix qualifiers.
Antonio gave you the right answer
zip "-9V" file.zip disk:[dir...]*.* -x *.ext1 *.ext2
will give the result you want. Attention: You do need the quotes around "-9V" ! Else the uppercase V will end-up eventually as a lowercase v when parsed by Zip and cause verbose operation instead of saving VMS file attributes.
Greetings, Martin
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-19-2004 04:36 PM
07-19-2004 04:36 PM
Re: Zip in VMS
Its worked after Martin suggestion ie previously we are giving dcl -x command with comma's which was creating a problem so commas are not required in DCL command.
Deepak