[Info-vax] ZIP SYS$INPUT
Syltrem
syltremzulu at videotron.ca
Tue Dec 8 10:11:56 EST 2009
"Wilm Boerhout" <w6.boerhout at planet.nl> a écrit dans le message de news:
4b1dfeb1$0$14131$703f8584 at textnews.kpn.nl...
> Syltrem mentioned on 7-12-2009 21:06:
>> "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)
>
> I think "-" works for you in the sense that it tries to process whatever
> it is given as SYS$INPUT / SYS$NET, but then barfs on what it finds there.
> Try /BLOCK=2048 to make your setup more like mine. This also worked with
> ZIP 3.0, the resulting archive had a saveset of sorts in it, but it turned
> out to be corrupt.
>
> /Wilm
I tried to change that to
$ backup *.mst HERA"operateur kverynice4"::"task=herabkpzip"/block=2048/save
and it still fails with the same error
zip error: Internal logic error (fstat(stdin))
Hopeless ?
Syltrem
More information about the Info-vax
mailing list