From: CRDGW2::CRDGW2::MRGATE::"SMTP::CRVAX.SRI.COM::RELAY-INFO-VAX" 8-APR-1991 21:31:07.81 To: ARISIA::EVERHART CC: Subj: Re: UNIX (SUN SPARC) machines as number-crunchers for VMS From: RELAY-INFO-VAX@CRVAX.SRI.COM@SMTP@CRDGW2 To: Everhart@Arisia@MRGATE Received: by crdgw1.ge.com (5.57/GE 1.96) id AA24095; Mon, 8 Apr 91 21:13:28 EDT Received: From UCBVAX.BERKELEY.EDU by CRVAX.SRI.COM with TCP; Mon, 8 APR 91 12:59:59 PST Received: by ucbvax.Berkeley.EDU (5.63/1.42) id AA15653; Mon, 8 Apr 91 12:52:04 -0700 Received: from USENET by ucbvax.Berkeley.EDU with netnews for info-vax@kl.sri.com (info-vax@kl.sri.com) (contact usenet@ucbvax.Berkeley.EDU if you have questions) Date: 8 Apr 91 11:13:37 GMT From: mcsun!cernvax!chx400!chx400!sicsun!sic.epfl.ch!buclin@uunet.uu.net Organization: Ecole Polytechnique Federale de Lausanne Subject: Re: UNIX (SUN SPARC) machines as number-crunchers for VMS Message-Id: <1991Apr8.121337.1@sic.epfl.ch> References: <131*.S=system.OU=id.O=UNIBE.PRMD=SWITCH.ADMD=ARCOM.C=CH.@MHS> Sender: info-vax-request@kl.sri.com To: info-vax@kl.sri.com In article <131*.S=system.OU=id.O=UNIBE.PRMD=SWITCH.ADMD=ARCOM.C=CH.@MHS>, system@ID.UNIBE.CH (Martin Egger) writes: > So, my idea is to have (on VMS) a tool, preferably a queue, which takes > a UNIX shell script together with code, data, ..., sends it to one of > our RISC platforms, executes it there and gets the results, listings, ... > back to the user on the VMS side. Even better, if the UNIX side could > get all data from VMS directly (with SUNLINK DNI, this should be possible). > I think, all this could be done by programming RPC, ... So, the question > is, if anybody has already done it or has any usefull ideas how really to do > it. CRAY has done it with their CRAY-Station software, but this tool is quite > complex to manage and probably impossible to adapt. > > If any usefull hits arrive, I will summarize for the net. > Why not simply use the Berkeley rsh, rcp and so on ? Just copy the script and data files using rcp ... and then execute the following command file : $ set symbol/scope=noglobal $ host = "''p1'" $ if P2 .EQS. "-L" $ then user = "''p3'" $ client = "''p4'" $ command = "''p4' ''p5' ''p6' ''p7' ''p8'" $ else user = f$edit(f$getjpi("","USERNAME"),"LOWERCASE") $ client = "''p2'" $ command = "''p2' ''p3' ''p4' ''p5' ''p6' ''p7' ''p8'" $ endif $ rsh 'host'/user='user'/input=NL: - "exec ''command' < /dev/null >&! ~/''client'.log" It will launch you remote command on the Unix station and let it execute. When it completes you will find the results in the logfile *.log in the login directory on the target host (you can even read the log file using rcp remote-host:*.log tt:). Don't forget to setup the .rhosts file on the target Unix host. Another solution could be to port NQS to VMS ... Bertrand Buclin SIC-EPFL Swiss Federal Institute of Technology CH-1015 Lausanne