[Info-vax] ZIP SYS$INPUT

Syltrem syltremzulu at videotron.ca
Mon Dec 7 14:21:23 EST 2009


"Wilm Boerhout" <w6.boerhout at planet.nl> wrote in message 
news:4b1be05e$0$14115$703f8584 at textnews.kpn.nl...
> 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
>

I'd like to try that here but what syntax do you use to ZIP ?
The "-" doesn't seem to work...
What do I do wrong ?

$ backup *.mst/log  hera"operateur 
zgoodhelp2"::"task=herabkpzip"/block=8192/save
%BACKUP-S-COPIED, copied SYS$SYSDEVICE:[OPERATEUR]20010508.MST;1
%BACKUP-F-WRITEERR, error writing HERA"operateur 
password"::"task=herabkpzip"
-RMS-F-WER, file write error
-SYSTEM-F-LINKDISCON, network partner disconnected logical link


the net$server.log shows :

$ set noon
$ set proc/nam=herabkpzip
$ ZIP := $PUB:ZIP
$ define/user sys$input sys$net
$ zip $1$dka500:[herabkp]herabkp.zip "-"

zip error: Internal logic error (fstat(stdin))
$ logout
$


$ zip -v
Copyright (c) 1990-2008 Info-ZIP - Type 'zip "-L"' for software license.
This is Zip 3.0 (July 5th 2008), by Info-ZIP.
Compiled with VAX C for VMS (V5.4-2 VAX) on Jul 12 2008.


Thanks
Syltrem





More information about the Info-vax mailing list