Date: Sun, 6 Jul 2008 22:02:38 +0000
Reply-To: Paul Dorfman <sashole@BELLSOUTH.NET>
Sender: "SAS(r) Discussion" <SAS-L@LISTSERV.UGA.EDU>
From: Paul Dorfman <sashole@BELLSOUTH.NET>
Organization: PDC
Subject: Re: Connecting to UNIX/LINUX without SAS/CONNECT
In-Reply-To: <200807062150.m66Al9nK008964@malibu.cc.uga.edu>
Paul W.,
You probably have an FTP server running on UNIX. I would try using FILENAME FTP which allows for OS commands on the remote server to be issued via rcmd site option. I am leaving the exploratory part to you.
Kind regards
----------------
Paul Dorfman
Jax, FL
----------------
-------------- Original message from Paul Walker <walker.627@OSU.EDU>: --------------
> I was wondering if it is possible to make a connection to a remote server
> running LINUX/UNIX using DOS commands instead of SAS/CONNECT?
>
> Here's the context: usually I have been achiving this using SAS/CONNECT to
> get to the remote server, but finding SAS/CONNECT fails intermittantly,
> and all I am doing after I get the connection to the remote server is
> submitting system commands using data _null_ and call system, so use of
> SAS/CONNECT is kind of overkill. What I am looking for is a more direct
> approach which by-passes SAS/CONNECT.
>
> Here's what I am thinking it should look like, submit this on PC:
>
> data _null_;
> length code $ 32367;
> code = "telnet servername; sas /mydirectory/myprogram.sas; disconnect";
> call system(code);
> run;
>
> I would not want this to pop-up a telnet window, just submit
> the "sas /mydirectory/myprogram.sas" in the background. Any ideas?
>
> - Paul
|