Usenet comp.sys.vms (1990-2004)
 help / color / mirror / Atom feed
From: rkoehler@csc.com (Robert Koehler)
Subject: Re: How does one read from and write to a mailbox in DCL?
Date: 1997/09/05	[thread overview]
Message-ID: <5up05i$f0v@explorer.csc.com> (raw)
In-Reply-To: 340F11CE.702A2B52@bankofny.com


Manny DeAssis (mdeassis@bankofny.com) wrote:
: 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.

:     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 mbannn: file.name
and
	$copy file.name mbannn:

In many cases you'll know a logical name for the mailbox instead of the unit 
number:

	$copy mb-log-name: file.name
and
	$copy file.name mb-log-name:

OBTW, $copy mbannn: nl: is a great way to relieve RWMBX.

------------------------------------------------------------------------------
Bob Koehler                     | Computer Sciences Corporation
Hubble Space Telescope Payload  | System Sciences Division
 Flight Software Team           |



  reply	other threads:[~1997-09-05  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 ` Robert Koehler [this message]
1997-09-05  4:00 ` Stephen Hoff Hoffman
1997-09-06  4:00 ` Hein RMS van den Heuvel
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