From: fairfield@slacvx.slac.stanford.edu
Subject: Re: Creating a directory over a network
Date: Mon, 9 May 1994 02:11:45 GMT [thread overview]
Message-ID: <1994May8.181145.1@slacvx.slac.stanford.edu> (raw)
In-Reply-To: 2qgvm9$12l@inews.intel.com
In article <2qgvm9$12l@inews.intel.com>,
brodesky@td2cad.intel.com (Michael Brodesky) writes:
> Let say you have two systems. And you would like to create
> a directory on system 1 from a comfile on system 2.
>
> system_2? create /dir system_1::disk:[new_directory]
>
> But the command fails due to invalid file specification. Is it possible
> to do this???
It's possible, but not in the direct way you're trying to do it.
DECnet makes many file-related operations transparent, but not all
file-related commands support remote file specifications.
CREATE/DIRECTORY is in the latter category.
It's been a long time since I've done this, so I'm only going to
sketch the method. You use a DECnet _task_ to execute the DCL
command on the remote node. That task is just a command file which
resides on the target machine, presumably in your login directory.
The command file, when activated, opens SYS$NET READ/WRITE. You
have it read the DCL command from SYS$NET, execute it, then close
SYS$NET to let your end know that the task is complete.
The version I had for doing this sort of thing used a "master"
command file on the local node, and a "slave" on the remote node.
With a little effort, I could dig these up. I haven't used them in
ages since there is little need for them in a cluster. :-)
-Ken
--
Dr. Kenneth H. Fairfield | Internet: Fairfield@Slac.Stanford.Edu
SLAC, P.O.Box 4349, MS 98 | DECnet: 45537::FAIRFIELD (45537=SLACVX)
Stanford, CA 94309 | Voice: (415) 926-2924 FAX: (415) 926-4335
----------------------------------------------------------------------------
These opinions are mine, not SLAC's, Stanford's, nor the DOE's...
prev parent reply other threads:[~1994-05-09 2:11 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
1994-05-07 21:03 Creating a directory over a network Michael Brodesky
1994-05-09 2:11 ` fairfield [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