Date: Tue, 24 Oct 2006 10:12:39 -0400
Reply-To: "Richard A. DeVenezia" <rdevenezia@WILDBLUE.NET>
Sender: "SAS(r) Discussion" <SAS-L@LISTSERV.UGA.EDU>
From: "Richard A. DeVenezia" <rdevenezia@WILDBLUE.NET>
Subject: Re: remote submiting SAS pgms from unix to unix
papu wrote:
> Hello,
>
> I use PC sas to connect to two unix machines. First I logon to both
> machines and then use rsubmit to the unix machines using their name.
>
> rsubmit unixbox1;
> .
> .
> endrsubmit;
>
>
> rsubmit unixbox2;
> .
> .
> endrsubmit;
>
> I want to write a sas pgm which will run on unixbox1 and then remote
> submit part of the pgm to unixbox2 without having unixbox2 ask for
> username or password (just like in the case for PC sas environment).
>
> Does anyone give me some suggestions or examples on how to do it?
Read the SIGNON help pages. It might be as simple as:
SIGNON host2 username=me2 password=shhh;
Another way is to specify the connect script, and place the u/p in the scrip
SIGNON host2 cscript='autologin-host2.scr';
Note: autologin-host2.scr would be a modified copy of tcpunix.scr found in
!SASROOT\connect\saslink
--
Richard A. DeVenezia
http://www.devenezia.com/