* Creating a directory over a network
@ 1994-05-07 21:03 Michael Brodesky
1994-05-09 2:11 ` fairfield
0 siblings, 1 reply; 2+ messages in thread
From: Michael Brodesky @ 1994-05-07 21:03 UTC (permalink / raw)
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???
Michael
Michael Brodesky Internet Mbrodesky@sc9.Intel.com
UUCP : {pur-ee,qanad,oliveb,decwrl,hplabs}!intelca!mipos3!td2cad!brodesky
Rootbeer^2 = Beer ? looking for Free climbing holds.
Arrowhead Arete In Yosemite, A great climb. A Great time. Great Photo'S
^ permalink raw reply [flat|nested] 2+ messages in thread
* Re: Creating a directory over a network
1994-05-07 21:03 Creating a directory over a network Michael Brodesky
@ 1994-05-09 2:11 ` fairfield
0 siblings, 0 replies; 2+ messages in thread
From: fairfield @ 1994-05-09 2:11 UTC (permalink / raw)
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...
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~1994-05-09 2:11 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
1994-05-07 21:03 Creating a directory over a network Michael Brodesky
1994-05-09 2:11 ` fairfield
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox