[Info-vax] ZIP SYS$INPUT

Steven Schweda sms.antinode at gmail.com
Fri Dec 4 12:43:50 EST 2009


Syltrem wrote:

> 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;)

alp $ pipe type [-]BMT.C | zip bmt_c2.zip "-"
  adding: - (deflated 51%)
alp $ unzip6l bmt_c2.zip
Archive:  ALP$DKA0:[SMS.ITRC]BMT_C2.ZIP;1
  inflating: -
alp $ diff -. [-]BMT.C
Number of difference sections found: 0
Number of difference records found: 0

DIFFERENCES /IGNORE=()/MERGED=1-
    ALP$DKA0:[SMS.ITRC]-.;1-
    ALP$DKA0:[SMS]BMT.C;4

   It's in the (modern) extended help:

alp $ zip3l -h2
[...]
[...]  If zipfile
  is "-", stream to stdout.  If any path is "-", zip stdin.
[...]

> 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.

   Buy a disk.

> 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...

   As usual, actual "zip -v" output would be more informative
than nothing (or not much).

   I'd suggest using Zip 3.0 and/or UnZip 6.0, of course.

   Whether any result you get will make any sense to BACKUP,
I'll let you explore.



More information about the Info-vax mailing list