<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic Re: ZIP Problem in Operating System - OpenVMS</title>
    <link>https://community.hpe.com/t5/operating-system-openvms/zip-problem/m-p/3181221#M1127</link>
    <description>Dieter, I believe this is an inherent implementation limit in ZIP V2.3. In the distribution I downloaded, there is a file in the [.PROGINFO] directory called ZIPLIMIT.TXT which lists a number of limitations on the sizes of ZIP archive entries and the like. If you check this file, I believe you will see that the maximum size of a ZIP archive is 2 GB, and your very large file must exceed that limit. I've seen similar "mysterious" behavior when someone in our company tried to ZIP a very large (in our case, about 6000000 blocks) file.&lt;BR /&gt;&lt;BR /&gt;It would be nice if ZIP gave some indication of what is going on, but I suspect that this is the problem.</description>
    <pubDate>Tue, 03 Feb 2004 13:03:55 GMT</pubDate>
    <dc:creator>David M Smith_1</dc:creator>
    <dc:date>2004-02-03T13:03:55Z</dc:date>
    <item>
      <title>ZIP Problem</title>
      <link>https://community.hpe.com/t5/operating-system-openvms/zip-problem/m-p/3181215#M1121</link>
      <description>I have a problem with ZIP 2.3 on my VMS/ALPHA system. I try do compress savesets and not all of them are processed:&lt;BR /&gt;&lt;BR /&gt;$ dir *.bck&lt;BR /&gt;&lt;BR /&gt;19_B5_V_040201.BCK;1                     5084730   1-FEB-2004 19:08:04.36&lt;BR /&gt;19_B5_V_040201.ZIP;1                           1   3-FEB-2004 13:07:22.04&lt;BR /&gt;21_A5_V_040131.BCK;1                     9608067  31-JAN-2004 19:07:57.04&lt;BR /&gt;21_A5_V_040131.ZIP;1                      333616   3-FEB-2004 13:21:56.57&lt;BR /&gt;&lt;BR /&gt;file 21_A5-V_040131.BCK went into 21_A5_V_040131.ZIP without any problems, trying the same with 19_B5_V_040201.BCK;1 resulted in:&lt;BR /&gt;&lt;BR /&gt;$ zip "-V" 19_A5_V_040131.zip 19_A5_V_040131.BCK&lt;BR /&gt;  adding: 19_A5_V_040131.BCK (stored 0%)&lt;BR /&gt;&lt;BR /&gt;The backup file is OK, I can do BACKUP/LIST and /RESTORE from that file and it was NOT accessed by any other process when I tried the ZIP.&lt;BR /&gt;&lt;BR /&gt;My zip version:&lt;BR /&gt;&lt;BR /&gt;Zip 2.3 (November 29th 1999). &lt;BR /&gt;&lt;BR /&gt;Regards&lt;BR /&gt;&lt;BR /&gt;Dieter</description>
      <pubDate>Tue, 03 Feb 2004 08:37:26 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-openvms/zip-problem/m-p/3181215#M1121</guid>
      <dc:creator>Dieter Rossbach</dc:creator>
      <dc:date>2004-02-03T08:37:26Z</dc:date>
    </item>
    <item>
      <title>Re: ZIP Problem</title>
      <link>https://community.hpe.com/t5/operating-system-openvms/zip-problem/m-p/3181216#M1122</link>
      <description>Hi,&lt;BR /&gt;&lt;BR /&gt;from the output you posted, I guess the file is 19_B5* and not 19_A5*....&lt;BR /&gt;&lt;BR /&gt;sorry if I am wrong here,&lt;BR /&gt;Best regards,&lt;BR /&gt;Lokesh</description>
      <pubDate>Tue, 03 Feb 2004 08:49:54 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-openvms/zip-problem/m-p/3181216#M1122</guid>
      <dc:creator>Lokesh_2</dc:creator>
      <dc:date>2004-02-03T08:49:54Z</dc:date>
    </item>
    <item>
      <title>Re: ZIP Problem</title>
      <link>https://community.hpe.com/t5/operating-system-openvms/zip-problem/m-p/3181217#M1123</link>
      <description>Hi Dieter,&lt;BR /&gt;&lt;BR /&gt;I too have had similar results using zip on large files.&lt;BR /&gt;Two things to check for.&lt;BR /&gt;1) Is the NoBackup flag on the savesets? A Dire/Full on the filename will show this.&lt;BR /&gt;2) Zip creates (at least the zip I use and we look to be the same) a temp file on SYS$Scratch. Since SYS$Scratch is usually the same as SYS$Login, then you must have at least that much freespace or roughly 10,000,000 blocks for your largest file.&lt;BR /&gt;&lt;BR /&gt;john</description>
      <pubDate>Tue, 03 Feb 2004 08:51:54 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-openvms/zip-problem/m-p/3181217#M1123</guid>
      <dc:creator>John Eerenberg</dc:creator>
      <dc:date>2004-02-03T08:51:54Z</dc:date>
    </item>
    <item>
      <title>Re: ZIP Problem</title>
      <link>https://community.hpe.com/t5/operating-system-openvms/zip-problem/m-p/3181218#M1124</link>
      <description>1. NoBackup:&lt;BR /&gt;&lt;BR /&gt;Both Savesets are created with the same procedure, all flags are the same&lt;BR /&gt;&lt;BR /&gt;2. Size of temporary file:&lt;BR /&gt;&lt;BR /&gt;the larger file can be zipped, the smaller not ... it can't be a problem of sys$scratch (and there is a lot of space)&lt;BR /&gt;&lt;BR /&gt;Dieter</description>
      <pubDate>Tue, 03 Feb 2004 09:05:32 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-openvms/zip-problem/m-p/3181218#M1124</guid>
      <dc:creator>Dieter Rossbach</dc:creator>
      <dc:date>2004-02-03T09:05:32Z</dc:date>
    </item>
    <item>
      <title>Re: ZIP Problem</title>
      <link>https://community.hpe.com/t5/operating-system-openvms/zip-problem/m-p/3181219#M1125</link>
      <description>Did some tests and found that "stored 0%" is shown when zipping small files (less than 6 bytes). Is the protection OK ? Did you try it with all privs enabled ? Did you do an anal/rms to check for file corruption ?&lt;BR /&gt;&lt;BR /&gt;I also got the message while it zipped the file. Check if the file was put in the archive.</description>
      <pubDate>Tue, 03 Feb 2004 09:49:47 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-openvms/zip-problem/m-p/3181219#M1125</guid>
      <dc:creator>Wim Van den Wyngaert</dc:creator>
      <dc:date>2004-02-03T09:49:47Z</dc:date>
    </item>
    <item>
      <title>Re: ZIP Problem</title>
      <link>https://community.hpe.com/t5/operating-system-openvms/zip-problem/m-p/3181220#M1126</link>
      <description>Hello Dieter,&lt;BR /&gt;&lt;BR /&gt;a number of issues compressing large files with VMS file attributes have been solved in the latest Zip beta. Please send me mail at &lt;BR /&gt;zinser@zinser.no-ip.info and I shall give you instructions where to download it.&lt;BR /&gt;&lt;BR /&gt;Greetings, Martin&lt;BR /&gt;&lt;BR /&gt;P.S. I do use this particular beta already for a while in a production environment at work without encountering problems ;-)&lt;BR /&gt;</description>
      <pubDate>Tue, 03 Feb 2004 10:23:31 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-openvms/zip-problem/m-p/3181220#M1126</guid>
      <dc:creator>Martin P.J. Zinser</dc:creator>
      <dc:date>2004-02-03T10:23:31Z</dc:date>
    </item>
    <item>
      <title>Re: ZIP Problem</title>
      <link>https://community.hpe.com/t5/operating-system-openvms/zip-problem/m-p/3181221#M1127</link>
      <description>Dieter, I believe this is an inherent implementation limit in ZIP V2.3. In the distribution I downloaded, there is a file in the [.PROGINFO] directory called ZIPLIMIT.TXT which lists a number of limitations on the sizes of ZIP archive entries and the like. If you check this file, I believe you will see that the maximum size of a ZIP archive is 2 GB, and your very large file must exceed that limit. I've seen similar "mysterious" behavior when someone in our company tried to ZIP a very large (in our case, about 6000000 blocks) file.&lt;BR /&gt;&lt;BR /&gt;It would be nice if ZIP gave some indication of what is going on, but I suspect that this is the problem.</description>
      <pubDate>Tue, 03 Feb 2004 13:03:55 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-openvms/zip-problem/m-p/3181221#M1127</guid>
      <dc:creator>David M Smith_1</dc:creator>
      <dc:date>2004-02-03T13:03:55Z</dc:date>
    </item>
    <item>
      <title>Re: ZIP Problem</title>
      <link>https://community.hpe.com/t5/operating-system-openvms/zip-problem/m-p/3181222#M1128</link>
      <description>Dieter&lt;BR /&gt;&lt;BR /&gt;I have come across other issues with ZIP (none&lt;BR /&gt;of them major) but the following will show one&lt;BR /&gt;such issue:&lt;BR /&gt;&lt;BR /&gt;Here I zip the same file but get different results depending on the filename...&lt;BR /&gt;&lt;BR /&gt;$ copy [-]login.com []a.a&lt;BR /&gt;$ zip a.zip a.a&lt;BR /&gt;  adding: A.A (deflated 60%)&lt;BR /&gt;$ del a.zip;&lt;BR /&gt;$ rename a.a a.arc&lt;BR /&gt;%I, DBS0:[SCRATCH]A.A;7 renamed to DBS0:[SCRATCH]A.ARC;1&lt;BR /&gt;$ zip a.zip a.arc&lt;BR /&gt;  adding: A.ARC (stored 0%)&lt;BR /&gt;&lt;BR /&gt;It looks as though ZIP is making some assumptions based on the filename and may also be making assumptions based on the contents of the first block or so of the file (I think this is how the *nix "magic" stuff works).  There may be some string in the first block that is causing it to not be compressed.&lt;BR /&gt;&lt;BR /&gt;Regards&lt;BR /&gt;Dave&lt;BR /&gt;</description>
      <pubDate>Tue, 03 Feb 2004 19:59:34 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-openvms/zip-problem/m-p/3181222#M1128</guid>
      <dc:creator>David B Sneddon</dc:creator>
      <dc:date>2004-02-03T19:59:34Z</dc:date>
    </item>
    <item>
      <title>Re: ZIP Problem</title>
      <link>https://community.hpe.com/t5/operating-system-openvms/zip-problem/m-p/3181223#M1129</link>
      <description>Hello David,&lt;BR /&gt;&lt;BR /&gt;the "do not compress" rule is defined by the user actually. Have a look at the logical zipopt . Most probably it does contain something like "-n .arc:...". If you think about it a moment this makes sense. Trying to compress an already compressed file will at best gain you very little (while costing CPU) while at worst actually can inflate the stored file (and still cost CPU ;-). AFAIK no "first block" magic is performed in Zip for VMS.&lt;BR /&gt;&lt;BR /&gt;Greetings, Martin</description>
      <pubDate>Tue, 03 Feb 2004 21:28:15 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-openvms/zip-problem/m-p/3181223#M1129</guid>
      <dc:creator>Martin P.J. Zinser</dc:creator>
      <dc:date>2004-02-03T21:28:15Z</dc:date>
    </item>
    <item>
      <title>Re: ZIP Problem</title>
      <link>https://community.hpe.com/t5/operating-system-openvms/zip-problem/m-p/3181224#M1130</link>
      <description>Hi Martin,&lt;BR /&gt;&lt;BR /&gt;In my example the symbol ZIP == "$dbsexe:zip ""-V""".&lt;BR /&gt;No zip logicals are defined.&lt;BR /&gt;&lt;BR /&gt;Dave</description>
      <pubDate>Tue, 03 Feb 2004 21:50:31 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-openvms/zip-problem/m-p/3181224#M1130</guid>
      <dc:creator>David B Sneddon</dc:creator>
      <dc:date>2004-02-03T21:50:31Z</dc:date>
    </item>
    <item>
      <title>Re: ZIP Problem</title>
      <link>https://community.hpe.com/t5/operating-system-openvms/zip-problem/m-p/3181225#M1131</link>
      <description>I just checked the source code and in ZIP.C there is a list of special suffixes:&lt;BR /&gt;.Z, .zip, .zoo, .arc, .lzh, .arj&lt;BR /&gt;&lt;BR /&gt;Dave&lt;BR /&gt;</description>
      <pubDate>Tue, 03 Feb 2004 22:04:58 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-openvms/zip-problem/m-p/3181225#M1131</guid>
      <dc:creator>David B Sneddon</dc:creator>
      <dc:date>2004-02-03T22:04:58Z</dc:date>
    </item>
    <item>
      <title>Re: ZIP Problem</title>
      <link>https://community.hpe.com/t5/operating-system-openvms/zip-problem/m-p/3181226#M1132</link>
      <description>The stored 0% is a hardcoded text in the program. It means that no compression has been done. It seems to try the compression and if no result, simply stores the file.&lt;BR /&gt;Some extentions are directly stored without discussion.&lt;BR /&gt;&lt;BR /&gt;Btw : I did some tests and found that /level=1 compresses Sybase dumps almost as good as /level=6 (the default) but cpu consumption is less than half.</description>
      <pubDate>Wed, 04 Feb 2004 05:15:19 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-openvms/zip-problem/m-p/3181226#M1132</guid>
      <dc:creator>Wim Van den Wyngaert</dc:creator>
      <dc:date>2004-02-04T05:15:19Z</dc:date>
    </item>
    <item>
      <title>Re: ZIP Problem</title>
      <link>https://community.hpe.com/t5/operating-system-openvms/zip-problem/m-p/3181227#M1133</link>
      <description>@everybody: thank you.&lt;BR /&gt;&lt;BR /&gt;Here are some more tests, influenced by your replies:&lt;BR /&gt;&lt;BR /&gt;$! (1)&lt;BR /&gt;&lt;BR /&gt;$ zip "-V" 12_A0_V_040130.zip 12_A0_V_040130.BCK;1&lt;BR /&gt;  adding: 12_A0_V_040130.BCK (stored 0%)&lt;BR /&gt;$ ! elapsed time unter a second !!!&lt;BR /&gt;$ !&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;$ unzip -l 12_A0_V_040130.zip&lt;BR /&gt;Archive:  DISK$SICHERUNG:[000000]12_A0_V_040130.ZIP;1&lt;BR /&gt; Length    Date    Time    Name&lt;BR /&gt; ------    ----    ----    ----&lt;BR /&gt;      0  01-30-04  21:05   12_a0_v_040130.bck&lt;BR /&gt; ------                    -------&lt;BR /&gt;      0                    1 file&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;---------------------------&lt;BR /&gt;&lt;BR /&gt;$! (2)&lt;BR /&gt;$!&lt;BR /&gt;$ zip 21_A5_V_040131.zip 21_A5_V_040131.BCK&lt;BR /&gt;  adding: 21_A5_V_040131.BCK (deflated 73%)&lt;BR /&gt;$!&lt;BR /&gt;$! elapsed time about 42 min&lt;BR /&gt;$!&lt;BR /&gt;&lt;BR /&gt;$ unzip -l 21_A5_V_040131.ZIP;1&lt;BR /&gt;Archive:  DISK$SICHERUNG:[000000]21_A5_V_040131.ZIP;1&lt;BR /&gt; Length    Date    Time    Name&lt;BR /&gt; ------    ----    ----    ----&lt;BR /&gt;624363008  01-31-04  19:07   21_a5_v_040131.bck&lt;BR /&gt; ------                    -------&lt;BR /&gt;624363008                    1 file&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;$ unzip 21_A5_V_040131.ZIP;1&lt;BR /&gt;Archive:  21_A5_V_040131.ZIP;1&lt;BR /&gt;replace 21_a5_v_040131.bck? [y]es, [n]o, [A]ll, [N]one, [r]ename: r&lt;BR /&gt;new name: x.bck&lt;BR /&gt;  inflating: X.BCK;&lt;BR /&gt;&lt;BR /&gt;$ dir/size=all x.bck,21_A5_V_040131.BCK;1&lt;BR /&gt;&lt;BR /&gt;Directory DISK$SICHERUNG:[000000]&lt;BR /&gt;&lt;BR /&gt;X.BCK;1                              9608067/9608112   31-JAN-2004 19:07:57.00&lt;BR /&gt;21_A5_V_040131.BCK;1                 9608067/9608112   31-JAN-2004 19:07:57.04&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;$ Backup/compare x.bck 21_A5_V_040131.BCK;1&lt;BR /&gt;$! no errors ...&lt;BR /&gt;&lt;BR /&gt;---------------------------&lt;BR /&gt;&lt;BR /&gt;@ WIM:&lt;BR /&gt;&amp;gt; Did some tests and found that "stored 0%" is shown when zipping small files&lt;BR /&gt;&amp;gt; (less than 6 bytes).&lt;BR /&gt;&lt;BR /&gt;sure, this is correct ...&lt;BR /&gt;&lt;BR /&gt;&amp;gt; Is the protection OK ?&lt;BR /&gt;&lt;BR /&gt;yes&lt;BR /&gt;&lt;BR /&gt;&amp;gt; Did you try it with all privs enabled ?&lt;BR /&gt;&lt;BR /&gt;yes&lt;BR /&gt;&lt;BR /&gt;&amp;gt; Did you do an anal/rms to check for file corruption ?&lt;BR /&gt;&lt;BR /&gt;no, but I restored that .BCK-file without any error -&amp;gt; the source file is OK&lt;BR /&gt;&lt;BR /&gt;&amp;gt; I also got the message while it zipped the file. Check if the file was put in the archive. &lt;BR /&gt;&lt;BR /&gt;see (1) it is put in the archive with 0 Bytes&lt;BR /&gt;&lt;BR /&gt;---------------------&lt;BR /&gt;@David M Smith&lt;BR /&gt;&lt;BR /&gt;&amp;gt; If you check this file, I believe you will see that the maximum size of&lt;BR /&gt;&amp;gt; a ZIP archive is 2 GB, and your very large file must exceed that limit. &lt;BR /&gt;&lt;BR /&gt;That sounds like a good explanation in the first place, but as I am able to successfully zip  larger files (see ex. (2) ) there must be another reason.&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;----------------------&lt;BR /&gt;@David Sneddon &lt;BR /&gt;&lt;BR /&gt;&amp;gt; It looks as though ZIP is making some assumptions based on the filename and may also be&lt;BR /&gt;&amp;gt; making assumptions based on the contents of the first block or so of the file (I think&lt;BR /&gt;&amp;gt; this is how the *nix "magic" stuff works). There may be some string in the first block&lt;BR /&gt;&amp;gt; that is causing it to not be compressed.&lt;BR /&gt;&lt;BR /&gt;Maybe .. but I trp to compress backup savesets, the first block of that file should have a fairly fixed format ...&lt;BR /&gt;&lt;BR /&gt;----&lt;BR /&gt;&lt;BR /&gt;It looks very much like zip finds a problem and writes a wrong message ...&lt;BR /&gt;&lt;BR /&gt;Dieter</description>
      <pubDate>Wed, 04 Feb 2004 09:48:14 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-openvms/zip-problem/m-p/3181227#M1133</guid>
      <dc:creator>Dieter Rossbach</dc:creator>
      <dc:date>2004-02-04T09:48:14Z</dc:date>
    </item>
    <item>
      <title>Re: ZIP Problem</title>
      <link>https://community.hpe.com/t5/operating-system-openvms/zip-problem/m-p/3181228#M1134</link>
      <description>zip 2.4h solved the problem ...&lt;BR /&gt;&lt;BR /&gt;Thank you&lt;BR /&gt;&lt;BR /&gt;Dieter</description>
      <pubDate>Thu, 05 Feb 2004 01:52:24 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-openvms/zip-problem/m-p/3181228#M1134</guid>
      <dc:creator>Dieter Rossbach</dc:creator>
      <dc:date>2004-02-05T01:52:24Z</dc:date>
    </item>
    <item>
      <title>Re: ZIP Problem</title>
      <link>https://community.hpe.com/t5/operating-system-openvms/zip-problem/m-p/3181229#M1135</link>
      <description>You said: V2.4h solved your problem -- where did you find V2.4h? I have looked on the Info-ZIP site and I don't see any reference to that.&lt;BR /&gt;&lt;BR /&gt;Thanks.</description>
      <pubDate>Mon, 09 Feb 2004 14:21:14 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-openvms/zip-problem/m-p/3181229#M1135</guid>
      <dc:creator>David M Smith_1</dc:creator>
      <dc:date>2004-02-09T14:21:14Z</dc:date>
    </item>
    <item>
      <title>Re: ZIP Problem</title>
      <link>https://community.hpe.com/t5/operating-system-openvms/zip-problem/m-p/3181230#M1136</link>
      <description>In an earlier post, David Sneddon wrote:&lt;BR /&gt;&lt;BR /&gt;&amp;gt;I just checked the source code and in &amp;gt;ZIP.C there is a list of special suffixes:&lt;BR /&gt;&amp;gt;.Z, .zip, .zoo, .arc, .lzh, .arj&lt;BR /&gt;&lt;BR /&gt;This was mysterious to me, too, until I found it documented in the help text (I use the CLI version) under the following:&lt;BR /&gt;&lt;BR /&gt;        /STORETYPES=(.ext1,.ext2,... )&lt;BR /&gt;&lt;BR /&gt;For files with the specified extensions, Zip does not try to compress the data but stores them verbatim. This speeds up operation on files that have already been compressed and where a second compression step usually does not gain much space. The default list of extensions where compression is suppressed is (.Z,.zip,.zoo,.arc,.arj).&lt;BR /&gt;&lt;BR /&gt;I ran into this when ZIPping a VMSINSTAL kit which happened to have a .Z saveset!&lt;BR /&gt;&lt;BR /&gt;</description>
      <pubDate>Mon, 09 Feb 2004 14:25:13 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-openvms/zip-problem/m-p/3181230#M1136</guid>
      <dc:creator>David M Smith_1</dc:creator>
      <dc:date>2004-02-09T14:25:13Z</dc:date>
    </item>
    <item>
      <title>Re: ZIP Problem</title>
      <link>https://community.hpe.com/t5/operating-system-openvms/zip-problem/m-p/3181231#M1137</link>
      <description>to get zip 2.4h see earlier posting from Martin.</description>
      <pubDate>Tue, 10 Feb 2004 04:09:16 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-openvms/zip-problem/m-p/3181231#M1137</guid>
      <dc:creator>Ian Miller.</dc:creator>
      <dc:date>2004-02-10T04:09:16Z</dc:date>
    </item>
  </channel>
</rss>

