<?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: error libref not assigned when remotely connecting to wrds in SAS Programming</title>
    <link>https://communities.sas.com/t5/SAS-Programming/error-libref-not-assigned-when-remotely-connecting-to-wrds/m-p/747005#M287458</link>
    <description>Hi:&lt;BR /&gt;  Since you are issuing LIBNAME statements that point to data locations on the WRDS server it is possible that those locations have been changed since the last time you ran your program. It will be hard to provide help for this because SAS does not control the placement of data on UPenn/Wharton's WRDS system and we do not use WRDS data in any of our free classes. However, UPenn/Wharton does maintain a support site. Assuming you have a login, you should be able to at least find out the correct path for your WRDS data by contacting them here: &lt;A href="https://wrds-web.wharton.upenn.edu/wrds/support/index.cfm" target="_blank"&gt;https://wrds-web.wharton.upenn.edu/wrds/support/index.cfm&lt;/A&gt; .&lt;BR /&gt;Cynthia</description>
    <pubDate>Thu, 10 Jun 2021 12:53:49 GMT</pubDate>
    <dc:creator>Cynthia_sas</dc:creator>
    <dc:date>2021-06-10T12:53:49Z</dc:date>
    <item>
      <title>error libref not assigned when remotely connecting to wrds</title>
      <link>https://communities.sas.com/t5/SAS-Programming/error-libref-not-assigned-when-remotely-connecting-to-wrds/m-p/746946#M287456</link>
      <description>&lt;P&gt;I am trying to remotely connect to wrds libraries with sas.&lt;BR /&gt;The code I'm using is:&lt;/P&gt;&lt;P&gt;%let wrds = wrds-cloud.wharton.upenn.edu 4016;&lt;BR /&gt;options comamid=TCP&lt;BR /&gt;remote=WRDS; signon username=_prompt_;&lt;/P&gt;&lt;P&gt;rsubmit;&lt;BR /&gt;libname crspa '/wrds/crsp/sasdata/a_stock';&lt;BR /&gt;libname temp '/scratch/tau/noga';&lt;BR /&gt;libname link '/wrds/crsp/sasdata/a_ccm';&lt;BR /&gt;libname index '/wrds/crsp/sasdata/a_indexes';&lt;BR /&gt;libname cc '/wrds/crsp/sasdata/a_ccm';&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I am able to sign in, however I recieve in the log the warning: One or more libraries specified in the concatenated library WRDSSEC do not exist. These libraries were removed from the concatenation.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;when I run the rest of the code:&lt;/P&gt;&lt;P&gt;data compcrsp; set cc.CCMXPF_LINKTABLE;&lt;BR /&gt;permno=lpermno;&lt;BR /&gt;keep gvkey permno linkdt linkenddt;&lt;BR /&gt;proc sort; by permno;&lt;BR /&gt;run;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I receive the following error message:&lt;/P&gt;&lt;P&gt;error: libref cc is not assigned.&lt;/P&gt;&lt;P&gt;the log is attached to this message.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;It is important to mention that I have run this program many times in the past, and there was no problem. I also checked the directories in wrds, and they have not changed.&lt;/P&gt;&lt;P&gt;I don't understand why this error message appears now. please help me.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;thanks&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 10 Jun 2021 07:21:31 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/error-libref-not-assigned-when-remotely-connecting-to-wrds/m-p/746946#M287456</guid>
      <dc:creator>Noga</dc:creator>
      <dc:date>2021-06-10T07:21:31Z</dc:date>
    </item>
    <item>
      <title>Re: error libref not assigned when remotely connecting to wrds</title>
      <link>https://communities.sas.com/t5/SAS-Programming/error-libref-not-assigned-when-remotely-connecting-to-wrds/m-p/746994#M287457</link>
      <description>&lt;P&gt;You have not shown any code that is attempting to define a libref of&amp;nbsp;&lt;SPAN&gt;WRDSSEC.&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;Where is that code?&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;Is it part of your autoexec.sas on that server?&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Thu, 10 Jun 2021 12:00:05 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/error-libref-not-assigned-when-remotely-connecting-to-wrds/m-p/746994#M287457</guid>
      <dc:creator>Tom</dc:creator>
      <dc:date>2021-06-10T12:00:05Z</dc:date>
    </item>
    <item>
      <title>Re: error libref not assigned when remotely connecting to wrds</title>
      <link>https://communities.sas.com/t5/SAS-Programming/error-libref-not-assigned-when-remotely-connecting-to-wrds/m-p/747005#M287458</link>
      <description>Hi:&lt;BR /&gt;  Since you are issuing LIBNAME statements that point to data locations on the WRDS server it is possible that those locations have been changed since the last time you ran your program. It will be hard to provide help for this because SAS does not control the placement of data on UPenn/Wharton's WRDS system and we do not use WRDS data in any of our free classes. However, UPenn/Wharton does maintain a support site. Assuming you have a login, you should be able to at least find out the correct path for your WRDS data by contacting them here: &lt;A href="https://wrds-web.wharton.upenn.edu/wrds/support/index.cfm" target="_blank"&gt;https://wrds-web.wharton.upenn.edu/wrds/support/index.cfm&lt;/A&gt; .&lt;BR /&gt;Cynthia</description>
      <pubDate>Thu, 10 Jun 2021 12:53:49 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/error-libref-not-assigned-when-remotely-connecting-to-wrds/m-p/747005#M287458</guid>
      <dc:creator>Cynthia_sas</dc:creator>
      <dc:date>2021-06-10T12:53:49Z</dc:date>
    </item>
  </channel>
</rss>

