<?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: remotely access to wrds in SAS Programming</title>
    <link>https://communities.sas.com/t5/SAS-Programming/remotely-access-to-wrds/m-p/521438#M141479</link>
    <description>&lt;P&gt;There are several possibilities. If your remote data are not too large, you can allocate the remote library as a server library on your own PC, and run your joint analysis locally:&lt;/P&gt;&lt;PRE&gt;&lt;CODE class=" language-sas"&gt;rsubmit;
  libname xx &amp;lt;definition&amp;gt;;
endrsubmit;

libname xx server=wrds slibref=xx;

data want;
  merge xx.inputdata mydata.crsp;
  

  &lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;Alternatively, you can download the data from the server and run locally:&lt;/P&gt;&lt;PRE&gt;&lt;CODE class=" language-sas"&gt;rsubmit;
  proc download data=xx.inputdata out=Work.inputdata;run;
endrsubmit;

data want;
  merge inputdata mydata.crsp;&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;Or you can upload your data to the remote server and run the analysis there:&lt;/P&gt;&lt;PRE&gt;&lt;CODE class=" language-sas"&gt;rsubmit;
  proc upload data=mydata.crsp out=Work.crsp;run;
  data want;
    merge xx.inputdata crsp;
  /* more SAS code here */
endrsubmit;&lt;/CODE&gt;&lt;/PRE&gt;</description>
    <pubDate>Fri, 14 Dec 2018 12:51:57 GMT</pubDate>
    <dc:creator>s_lassen</dc:creator>
    <dc:date>2018-12-14T12:51:57Z</dc:date>
    <item>
      <title>remotely access to wrds</title>
      <link>https://communities.sas.com/t5/SAS-Programming/remotely-access-to-wrds/m-p/521315#M141429</link>
      <description>&lt;P&gt;&lt;FONT color="#000000" face="times new roman,times"&gt;Hello,&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;FONT color="#000000" face="times new roman,times"&gt;When I use the following commands to work remotely on wrds server can I also use data that are not included in wrds for my procedures?&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&lt;FONT color="#000000" face="times new roman,times"&gt;&lt;FONT size="2"&gt;%let&lt;/FONT&gt;&lt;FONT size="2"&gt; wrds = wrds.wharton.upenn.edu 4016;&lt;/FONT&gt;&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&lt;FONT color="#000000" face="times new roman,times"&gt;&lt;FONT size="2"&gt;options&lt;/FONT&gt; &lt;FONT size="2"&gt;comamid&lt;/FONT&gt;&lt;FONT size="2"&gt;=TCP remote=WRDS;&lt;/FONT&gt;&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&lt;FONT color="#000000" face="times new roman,times"&gt;&lt;FONT size="2"&gt;signon&lt;/FONT&gt; &lt;FONT size="2"&gt;username=_prompt_;&lt;/FONT&gt;&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&lt;FONT color="#000000" face="times new roman,times" size="2"&gt;rsubmit...&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&lt;FONT color="#000000" face="times new roman,times" size="2"&gt;Lets say for example to merge a dataset that I have obtained with data from crsp and use them together in the analysis that follows.&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;FONT color="#000000" face="times new roman,times" size="2"&gt;Thank you.&lt;/FONT&gt;&lt;/P&gt;</description>
      <pubDate>Thu, 13 Dec 2018 22:41:04 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/remotely-access-to-wrds/m-p/521315#M141429</guid>
      <dc:creator>MarinaMag</dc:creator>
      <dc:date>2018-12-13T22:41:04Z</dc:date>
    </item>
    <item>
      <title>Re: remotely access to wrds</title>
      <link>https://communities.sas.com/t5/SAS-Programming/remotely-access-to-wrds/m-p/521438#M141479</link>
      <description>&lt;P&gt;There are several possibilities. If your remote data are not too large, you can allocate the remote library as a server library on your own PC, and run your joint analysis locally:&lt;/P&gt;&lt;PRE&gt;&lt;CODE class=" language-sas"&gt;rsubmit;
  libname xx &amp;lt;definition&amp;gt;;
endrsubmit;

libname xx server=wrds slibref=xx;

data want;
  merge xx.inputdata mydata.crsp;
  

  &lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;Alternatively, you can download the data from the server and run locally:&lt;/P&gt;&lt;PRE&gt;&lt;CODE class=" language-sas"&gt;rsubmit;
  proc download data=xx.inputdata out=Work.inputdata;run;
endrsubmit;

data want;
  merge inputdata mydata.crsp;&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;Or you can upload your data to the remote server and run the analysis there:&lt;/P&gt;&lt;PRE&gt;&lt;CODE class=" language-sas"&gt;rsubmit;
  proc upload data=mydata.crsp out=Work.crsp;run;
  data want;
    merge xx.inputdata crsp;
  /* more SAS code here */
endrsubmit;&lt;/CODE&gt;&lt;/PRE&gt;</description>
      <pubDate>Fri, 14 Dec 2018 12:51:57 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/remotely-access-to-wrds/m-p/521438#M141479</guid>
      <dc:creator>s_lassen</dc:creator>
      <dc:date>2018-12-14T12:51:57Z</dc:date>
    </item>
  </channel>
</rss>

