<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic Re: Using rc= system in SAS Procedures</title>
    <link>https://communities.sas.com/t5/SAS-Procedures/Using-rc-system/m-p/54144#M14984</link>
    <description>Thanks so much Daniel. &lt;BR /&gt;
&lt;BR /&gt;
I also wanted to let you know that I was able to create a batch file and accomplish the same with contents as below.&lt;BR /&gt;
&lt;BR /&gt;
"C:\Program Files\SAS\SAS 9.1\sas.exe" -sysin "C:\login.sas"&lt;BR /&gt;
&lt;BR /&gt;
Thanks again,&lt;BR /&gt;
Tej</description>
    <pubDate>Tue, 09 Feb 2010 11:25:47 GMT</pubDate>
    <dc:creator>tejeshwar</dc:creator>
    <dc:date>2010-02-09T11:25:47Z</dc:date>
    <item>
      <title>Using rc= system</title>
      <link>https://communities.sas.com/t5/SAS-Procedures/Using-rc-system/m-p/54140#M14980</link>
      <description>Hi, &lt;BR /&gt;
&lt;BR /&gt;
I am running a below command to create a master tunnel to the server from inside sas. My question is that if I am using an "auto-login" facility , is there a way i can do that through sas by tweaking the below piece of code.&lt;BR /&gt;
&lt;BR /&gt;
options noxwait noxsync;&lt;BR /&gt;
data _null_;&lt;BR /&gt;
rc=system('putty -ssh -L 12355:localhost:3452 domain_name@xyz.com')&lt;BR /&gt;
&lt;BR /&gt;
Thanks in advance&lt;BR /&gt;
&lt;BR /&gt;
Tej</description>
      <pubDate>Mon, 08 Feb 2010 17:38:22 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Procedures/Using-rc-system/m-p/54140#M14980</guid>
      <dc:creator>tejeshwar</dc:creator>
      <dc:date>2010-02-08T17:38:22Z</dc:date>
    </item>
    <item>
      <title>Re: Using rc= system</title>
      <link>https://communities.sas.com/t5/SAS-Procedures/Using-rc-system/m-p/54141#M14981</link>
      <description>A search of the SAS support  &lt;A href="http://support.sas.com/" target="_blank"&gt;http://support.sas.com/&lt;/A&gt;  website revealed this SAS DOC item which may be of use:&lt;BR /&gt;
&lt;BR /&gt;
FILENAME Statement, SFTP Access Method&lt;BR /&gt;
&lt;A href="http://support.sas.com/documentation/cdl/en/lrdict/62618/HTML/default/a003041481.htm" target="_blank"&gt;http://support.sas.com/documentation/cdl/en/lrdict/62618/HTML/default/a003041481.htm&lt;/A&gt;&lt;BR /&gt;
&lt;BR /&gt;
Scott Barry&lt;BR /&gt;
SBBWorks, Inc.</description>
      <pubDate>Mon, 08 Feb 2010 17:45:08 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Procedures/Using-rc-system/m-p/54141#M14981</guid>
      <dc:creator>sbb</dc:creator>
      <dc:date>2010-02-08T17:45:08Z</dc:date>
    </item>
    <item>
      <title>Re: Using rc= system</title>
      <link>https://communities.sas.com/t5/SAS-Procedures/Using-rc-system/m-p/54142#M14982</link>
      <description>Thanks Scott!&lt;BR /&gt;
&lt;BR /&gt;
I was able to setup auto-login, however I am troubling you with one more question. &lt;BR /&gt;
Is there a way I can have SAS execute a specific lines of code everytime I open up a SAS session?&lt;BR /&gt;
&lt;BR /&gt;
I want to have SAS create that master tunnel to the server through that code eveytime it opens a session&lt;BR /&gt;
&lt;BR /&gt;
Thank you&lt;BR /&gt;
Tej</description>
      <pubDate>Tue, 09 Feb 2010 03:38:52 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Procedures/Using-rc-system/m-p/54142#M14982</guid>
      <dc:creator>tejeshwar</dc:creator>
      <dc:date>2010-02-09T03:38:52Z</dc:date>
    </item>
    <item>
      <title>Re: Using rc= system</title>
      <link>https://communities.sas.com/t5/SAS-Procedures/Using-rc-system/m-p/54143#M14983</link>
      <description>Yes indeed.&lt;BR /&gt;
&lt;BR /&gt;
The appropriate way would be to include your code into the autoexec file (same directory of your sas executable, or use -autoexec comand line to specify another location).&lt;BR /&gt;
&lt;BR /&gt;
Check:&lt;BR /&gt;
&lt;A href="http://support.sas.com/documentation/cdl/en/hostunx/61879/HTML/default/a002460936.htm" target="_blank"&gt;http://support.sas.com/documentation/cdl/en/hostunx/61879/HTML/default/a002460936.htm&lt;/A&gt;&lt;BR /&gt;
&lt;BR /&gt;
And:&lt;BR /&gt;
&lt;A href="http://support.sas.com/documentation/cdl/en/hostunx/61879/HTML/default/autoexec.htm" target="_blank"&gt;http://support.sas.com/documentation/cdl/en/hostunx/61879/HTML/default/autoexec.htm&lt;/A&gt;&lt;BR /&gt;
&lt;BR /&gt;
Cheers from Portugal.&lt;BR /&gt;
&lt;BR /&gt;
Daniel Santos @ &lt;A href="http://www.cgd.pt" target="_blank"&gt;www.cgd.pt&lt;/A&gt;</description>
      <pubDate>Tue, 09 Feb 2010 08:34:31 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Procedures/Using-rc-system/m-p/54143#M14983</guid>
      <dc:creator>DanielSantos</dc:creator>
      <dc:date>2010-02-09T08:34:31Z</dc:date>
    </item>
    <item>
      <title>Re: Using rc= system</title>
      <link>https://communities.sas.com/t5/SAS-Procedures/Using-rc-system/m-p/54144#M14984</link>
      <description>Thanks so much Daniel. &lt;BR /&gt;
&lt;BR /&gt;
I also wanted to let you know that I was able to create a batch file and accomplish the same with contents as below.&lt;BR /&gt;
&lt;BR /&gt;
"C:\Program Files\SAS\SAS 9.1\sas.exe" -sysin "C:\login.sas"&lt;BR /&gt;
&lt;BR /&gt;
Thanks again,&lt;BR /&gt;
Tej</description>
      <pubDate>Tue, 09 Feb 2010 11:25:47 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Procedures/Using-rc-system/m-p/54144#M14984</guid>
      <dc:creator>tejeshwar</dc:creator>
      <dc:date>2010-02-09T11:25:47Z</dc:date>
    </item>
    <item>
      <title>Re: Using rc= system</title>
      <link>https://communities.sas.com/t5/SAS-Procedures/Using-rc-system/m-p/54145#M14985</link>
      <description>Could you please let me know how you connected to an SFTP, i tried the documentation at the paths provided and they do not work for me.&lt;BR /&gt;
&lt;BR /&gt;
I dont seem to be able to connect as there is no password option in SAS to do it.&lt;BR /&gt;
&lt;BR /&gt;
basically all i want to do is connect to an SFTP, i have username and password for this and IP address, then tell sas where to look and then use a command to grab a file... initially though just to connect is my issue.&lt;BR /&gt;
&lt;BR /&gt;
Hope you can help</description>
      <pubDate>Tue, 17 May 2011 13:25:35 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Procedures/Using-rc-system/m-p/54145#M14985</guid>
      <dc:creator>ColmSmyth</dc:creator>
      <dc:date>2011-05-17T13:25:35Z</dc:date>
    </item>
  </channel>
</rss>

