From: vandenheuvel@eps.enet.dec.c*m (Hein RMS van den Heuvel)
Subject: Re: How does one read from and write to a mailbox in DCL?
Date: 1997/09/06 [thread overview]
Message-ID: <5uqlf2$vcs@usenet.pa.dec.com> (raw)
In-Reply-To: 340F11CE.702A2B52@bankofny.com
In article <340F11CE.702A2B52@bankofny.com>, Manny DeAssis <mdeassis@bankofny.com> writes...
>Hello everyone,
>
> My co-worker has a program that writes info to a mailbox at select
>intervals. It is at shutdown (or termination) of this program that he
>wants the contents of the mailbox to be dumped to a file. Later when
>the program is restarted the contents of the file should be written to
>the mailbox created/used by the program.
Hmm, sound to me your co-worker shoudl check out writting stuff directly
to a file all the time, for example using a circular buffer algoritme
on top of a relative file. Or an indexed file with timestamp primary
and a flag as alternate key where the cleared flag is set up as a null key.
The file IOs can be postpoened by not sharing and/or using deferred write
and a bucnh of buffers. Upon shutdown, and every so often, call SYS$FLUSH.
>
> Does anyone know how to write a DCL command procedure that can dump
>the contents of a mailbox to a file and later write the contents back to
>a mailbox?
$COPY !
Hth,
Hein.
prev parent reply other threads:[~1997-09-06 4:00 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
1997-09-04 4:00 How does one read from and write to a mailbox in DCL? Manny DeAssis
1997-09-05 4:00 ` Stephen Hoff Hoffman
1997-09-05 4:00 ` Robert Koehler
1997-09-06 4:00 ` Hein RMS van den Heuvel [this message]
read-only archive
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox