From mboxrd@z Thu Jan 1 00:00:00 1970 X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: 1164f8,93881158bbac67a0 X-Google-Attributes: gid1164f8,public X-Google-ArrivalTime: 1994-05-08 18:45:33 PST Newsgroups: comp.sys.dec Path: bga.com!news.sprintlink.net!hookup!news.moneng.mei.com!uwm.edu!fnnews.fnal.gov!unixhub!slacvx.slac.stanford.edu!fairfield From: fairfield@slacvx.slac.stanford.edu Subject: Re: Creating a directory over a network Message-ID: <1994May8.181145.1@slacvx.slac.stanford.edu> Sender: news@unixhub.SLAC.Stanford.EDU Organization: Stanford Linear Accelerator Center References: <2qgvm9$12l@inews.intel.com> Distribution: usa Date: Mon, 9 May 1994 02:11:45 GMT 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...