[Info-vax] ZIP SYS$INPUT

Wilm Boerhout w6.boerhout at planet.nl
Sun Dec 6 11:48:24 EST 2009


Steven Schweda mentioned  on 6-12-2009 6:02:

[snip]

> 
>    What could go wrong?


*Well: ZIP 3.1 Beta also "stores" the file:*

         --------------------------------------------------------

         Connect request received at  6-DEC-2009 17:41:11.89
             from remote process NETBCK::"0=SYSTEM"
             for object "ZIPPER"

         --------------------------------------------------------

This is Zip 3.1b BETA (Apr 9th 2009), by Info-ZIP.
   adding: -

         (in=1239645) (out=1239645) (stored 0%)
total bytes=1239645, compressed=1239645 -> 0% savings
Get RMS defaults.  getjpi sts = %x00000001.
                Default: deq =      0, mbc =   0, mbf =   0.
Open callback.  ID = 1, deq =  16384, mbc = 127, mbf =   2.
Archive:  SYS$SYSROOT:[SYSMGR]REMOTE.ZIP;1
  Length   Method    Size  Ratio   Date   Time   CRC-32    Name
--------  ------  ------- -----   ----   ----   ------    ----
  1239645  Stored  1239645   0%  01-01-80 00:00  ebc2993b  -
--------          -------  ---                            -------
  1239645          1239645   0%                            1 file

*And then, after modifying the name in the archive, I can extract the 
save set. It's header appeard to be correct (after setting file 
attributes), but after the first block or so it falls apart:*


$ pipe zipnote -w REMOTE.ZIP < remote.zn
$ unz -v remote
Get RMS defaults.  getjpi sts = %x00000001.
                Default: deq =      0, mbc =   0, mbf =   0.
Open callback.  ID = 1, deq =  16384, mbc = 127, mbf =   2.
Archive:  SYS$SYSROOT:[SYSMGR]REMOTE.ZIP;1
  Length   Method    Size  Ratio   Date   Time   CRC-32    Name
--------  ------  ------- -----   ----   ----   ------    ----
  1239645  Stored  1239645   0%  01-01-80 00:00  ebc2993b  TEST.BCK
--------          -------  ---                            -------
  1239645          1239645   0%                            1 file
$ unz remote
Archive:  SYS$SYSROOT:[SYSMGR]REMOTE.ZIP;1
replace TEST.BCK? [y]es, [n]o, [A]ll, [N]one, [r]ename: y
  extracting: TEST.BCK
$ bac /lis test.bck /sav
Listing of save set(s)

%BACKUP-F-NOTSAVESET, SYS$SYSROOT:[SYSMGR]TEST.BCK;2 is not a BACKUP 
save set
$ reca @vx
$ @vx:RESET_BACKUP_FILE_ATTRIBUTES test.bck
   BLOCKSIZE = 2048   Hex = 00000800  Octal = 00000004000
$ bac /lis test.bck /sav
Listing of save set(s)

Save set:          "task=ZIPPER"
Written by:        SYSTEM
UIC:               [000001,000004]
Date:               6-DEC-2009 17:41:11.49
Command:           BACKUP *.COM 0::"task=ZIPPER"/SAV/BLOCK_SIZE=2048
Operating system:  OpenVMS VAX version V7.3
BACKUP version:    V7.3
CPU ID register:   0A000006
Node name:         _NETBCK::
Block size:        2048
Group size:        10
Buffer count:      194

[SYSMGR]DISKS.COM;11                                        1 
9-APR-2009 12:05
[SYSMGR]LOGIN.COM;65                                        3 
4-DEC-2009 22:40
%BACKUP-E-READERRS, excessive error rate reading 
SYS$SYSROOT:[SYSMGR]TEST.BCK;2
-BACKUP-E-HDRCRC, software header CRC error
%BACKUP-I-OPERSPEC
%BACKUP-I-OPERASSIST, operator assistance has been requested




More information about the Info-vax mailing list