[Info-vax] ZIP SYS$INPUT
Syltrem
syltremzulu at videotron.ca
Mon Dec 7 15:06:17 EST 2009
"Bob Koehler" <koehler at eisner.nospam.encompasserve.org> wrote in message
news:Y92qoN7t9DQ8 at eisner.encompasserve.org...
> In article <ZUaSm.64139$Td3.21476 at en-nntp-01.dc1.easynews.com>, "Syltrem"
> <syltremzulu at videotron.ca> writes:
>> 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
>
> I've had partial success getting BACKUP to store a saveset to a
> mailbox device, but it seems the blocksize is not trivial (first
> tried matching the default /blocksize to the mailbox size).
>
> Getting data from a mailbox into zip is something that would probably
> be trivial, maybe I'll find time to look into it on my home cluster.
>
> I forget which version of VMS you had, should I assume you don't
> have create/mailbox?
>
A mailbox is a good idea.
I have VMS VAX 7.3
No CREATE/MAILBOX
I can create a mailbox from DCL (process termination mailbox) and that makes
a mailbox like this :
$ sh dev/fu MY_MBX
Device MBA18244:, device type local memory mailbox, is online,
record-oriented
device, shareable, mailbox device.
Error count 0 Operations completed
4
Owner process "" Owner UIC
[TREMBLAY]
Owner process ID 00000000 Dev Prot
S,O:RWPL,G,W
Reference count 1 Default buffer size
256
$
Otherwise it can be created by a Basic program.
Before spending time on this (although it's fun) I'd still like to see
whether I can do it with the DECnet task. Currently using "-" in zip doesn't
work for me... (see previous post)
Syltrem
More information about the Info-vax
mailing list