[Info-vax] ZIP SYS$INPUT
Wilm Boerhout
w6.boerhout at planet.nl
Sat Dec 5 07:03:43 EST 2009
Wilm Boerhout mentioned on 5-12-2009 8:45:
> Syltrem mentioned on 4-12-2009 17:37:
>> Hello everyone
>>
>> Is there a way to have ZIP use SYS$INPUT (or SYS$NET) as input ?
>>
>> $ zip f.zip sys$input:
>> zip warning: name not matched: sys$input:
>>
>> zip error: Nothing to do! (DGSI_A1:[TREMBLAY.STMEP.HERABKP]F.ZIP;)
>>
>>
>> What I'm trying to do is backup a disk and zip that while not storing
>> the original saveset on disk (I don't have room for it). I want to
>> store the compressed version (zip) only.
>>
>> I cannot tell BACKUP to pipe the thing directly to ZIP, as far as I know
>> I thought to send the thing through a DECnet task but ZIP will not
>> take SYS$NET as input
>>
>> Any other idea ?
>>
>> BTW I am on VAX 7.3 so BACKUP /DATA=COMPRESS is not available and
>> probably never will.
>>
>> On IA64/Alpha I have ZIP 2.32 and it doesn't work either. I don't have
>> the latest one on VAX but if this (SYS$INPUT) isn't supported in any
>> version, who cares...
>>
>> Merci !
>> Syltrem
>> http://pages.videotron.net/syltrem
>
> Intuitively, I would make backup write to the NET device, in anaalogy to
> the method used for remote tape access (see the OpenVMS FAQ)
>
> $ set rms /net=4 ! not too large?
> $ backup whatever remote::"task=ZIPPER" /sav /block=2048 !(4*512)
>
> with ZIPPER.COM properly attached to a network object:
>
> $ ncp def obj zipper number 47 file ZIPPER.COM
> $ ncp set kno obj all
>
> and contents:
>
> $ define /user SYS$INPUT SYS$NET
> $ zip "-Vv" REMOTE.ZIP "-"
>
> but apparently, ZIP was not designed to accomodate this.
>
> From NETSERVER.LOG:
>
> --------------------------------------------------------
>
> Connect request received at 5-DEC-2009 08:40:38.28
> from remote process NETBCK::"0=SYSTEM"
> for object "ZIPPER"
>
> --------------------------------------------------------
> updating: -
>
> zip warning: non-translatable vms error code: 0x47C
> %system-f-intovf, arithmetic trap, integer overflow at pc=!xl, psl=!xl
> zip warning: could not read input file: -
> (in=0) (out=0) (stored 0%)
> total bytes=0, compressed=0 -> 0% savings
On reading the zip -h2 help, might not
zip "-FI" arch.zip SYS$NET:
be a useful addition to the wish list for VMS ZIP (on Unix, -FI
activates the named pipe mode)
/Wilm
More information about the Info-vax
mailing list