<?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: Problem with SAS WRDS MACRO FOR CARs, SUE, and ARs by Denys Glushkov in SAS Programming</title>
    <link>https://communities.sas.com/t5/SAS-Programming/Problem-with-SAS-WRDS-MACRO-FOR-CARs-SUE-and-ARs-by-Denys/m-p/320040#M70407</link>
    <description>&lt;P&gt;The error is telling you that it's looking for a file:&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;STRONG&gt;'/wrds/comp/samples/size_bm.sas'&lt;/STRONG&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;I'm not familiar with WRDS but my guess is that you may not have set something up properly? I would suggest checking the set up instructions in the manual they referred you to.&lt;/P&gt;</description>
    <pubDate>Mon, 19 Dec 2016 21:19:38 GMT</pubDate>
    <dc:creator>Reeza</dc:creator>
    <dc:date>2016-12-19T21:19:38Z</dc:date>
    <item>
      <title>Problem with SAS WRDS MACRO FOR CARs, SUE, and ARs by Denys Glushkov</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Problem-with-SAS-WRDS-MACRO-FOR-CARs-SUE-and-ARs-by-Denys/m-p/320031#M70402</link>
      <description>&lt;P&gt;Hi everybody: I am trying to use the following MACRO to calculate quarterly&amp;nbsp;CARs, SUEs, and ARs and I get multiple erros ; However I successfully connect to my WRDS account and have no problem with access.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;one of the errors:&amp;nbsp;&lt;/P&gt;&lt;P&gt;ERROR: Cannot open %INCLUDE file /wrds/comp/samples/size_bm.sas&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;The code and log of errors is attached. Anybody has any idea how can I fix it or can share a working MACRO? I contacted WRDS but they just refer me to manual and complicated programming details which I'm not familiar with.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I appreciate your help very much.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 19 Dec 2016 20:43:57 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Problem-with-SAS-WRDS-MACRO-FOR-CARs-SUE-and-ARs-by-Denys/m-p/320031#M70402</guid>
      <dc:creator>HannahPhD</dc:creator>
      <dc:date>2016-12-19T20:43:57Z</dc:date>
    </item>
    <item>
      <title>Re: Problem with SAS WRDS MACRO FOR CARs, SUE, and ARs by Denys Glushkov</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Problem-with-SAS-WRDS-MACRO-FOR-CARs-SUE-and-ARs-by-Denys/m-p/320032#M70403</link>
      <description>&lt;P&gt;The error message is&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;306 %include '/wrds/comp/samples/size_bm.sas';&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&lt;STRONG&gt;WARNING: Physical file does not exist, /wrds/comp/samples/size_bm.sas&lt;/STRONG&gt;.&lt;/SPAN&gt;&lt;BR /&gt;&lt;STRONG&gt;ERROR: Cannot open %INCLUDE file /wrds/comp/samples/size_bm.sas.&lt;/STRONG&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;So it seems that the specified file is not in the &lt;STRONG&gt;/wrds/comp/samples&amp;nbsp;&lt;/STRONG&gt;directory.&lt;/P&gt;</description>
      <pubDate>Mon, 19 Dec 2016 20:46:43 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Problem-with-SAS-WRDS-MACRO-FOR-CARs-SUE-and-ARs-by-Denys/m-p/320032#M70403</guid>
      <dc:creator>Rick_SAS</dc:creator>
      <dc:date>2016-12-19T20:46:43Z</dc:date>
    </item>
    <item>
      <title>Re: Problem with SAS WRDS MACRO FOR CARs, SUE, and ARs by Denys Glushkov</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Problem-with-SAS-WRDS-MACRO-FOR-CARs-SUE-and-ARs-by-Denys/m-p/320035#M70404</link>
      <description>&lt;P&gt;Thanks for the reply. I contacted WRDS and they didn't offer any solution. Is there any other MACROS I can use that you are aware of?&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 19 Dec 2016 21:01:40 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Problem-with-SAS-WRDS-MACRO-FOR-CARs-SUE-and-ARs-by-Denys/m-p/320035#M70404</guid>
      <dc:creator>HannahPhD</dc:creator>
      <dc:date>2016-12-19T21:01:40Z</dc:date>
    </item>
    <item>
      <title>Re: Problem with SAS WRDS MACRO FOR CARs, SUE, and ARs by Denys Glushkov</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Problem-with-SAS-WRDS-MACRO-FOR-CARs-SUE-and-ARs-by-Denys/m-p/320040#M70407</link>
      <description>&lt;P&gt;The error is telling you that it's looking for a file:&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;STRONG&gt;'/wrds/comp/samples/size_bm.sas'&lt;/STRONG&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;I'm not familiar with WRDS but my guess is that you may not have set something up properly? I would suggest checking the set up instructions in the manual they referred you to.&lt;/P&gt;</description>
      <pubDate>Mon, 19 Dec 2016 21:19:38 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Problem-with-SAS-WRDS-MACRO-FOR-CARs-SUE-and-ARs-by-Denys/m-p/320040#M70407</guid>
      <dc:creator>Reeza</dc:creator>
      <dc:date>2016-12-19T21:19:38Z</dc:date>
    </item>
    <item>
      <title>Re: Problem with SAS WRDS MACRO FOR CARs, SUE, and ARs by Denys Glushkov</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Problem-with-SAS-WRDS-MACRO-FOR-CARs-SUE-and-ARs-by-Denys/m-p/320057#M70415</link>
      <description>&lt;P&gt;What operating system are you running?&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Post the exact code you submitted that generates the error.&lt;/P&gt;</description>
      <pubDate>Mon, 19 Dec 2016 22:11:06 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Problem-with-SAS-WRDS-MACRO-FOR-CARs-SUE-and-ARs-by-Denys/m-p/320057#M70415</guid>
      <dc:creator>ballardw</dc:creator>
      <dc:date>2016-12-19T22:11:06Z</dc:date>
    </item>
    <item>
      <title>Re: Problem with SAS WRDS MACRO FOR CARs, SUE, and ARs by Denys Glushkov</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Problem-with-SAS-WRDS-MACRO-FOR-CARs-SUE-and-ARs-by-Denys/m-p/320338#M70543</link>
      <description>&lt;P&gt;Hi: attached is the code and error. baiscally it doesn't read CRSP and Compustat data, so it doesn't calculate bm-ratios. operating system is&amp;nbsp;X64_8HOME WIN . Thanks for the help.&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 20 Dec 2016 20:28:12 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Problem-with-SAS-WRDS-MACRO-FOR-CARs-SUE-and-ARs-by-Denys/m-p/320338#M70543</guid>
      <dc:creator>HannahPhD</dc:creator>
      <dc:date>2016-12-20T20:28:12Z</dc:date>
    </item>
    <item>
      <title>Re: Problem with SAS WRDS MACRO FOR CARs, SUE, and ARs by Denys Glushkov</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Problem-with-SAS-WRDS-MACRO-FOR-CARs-SUE-and-ARs-by-Denys/m-p/320339#M70544</link>
      <description>&lt;P&gt;Thanks for getting back to me. It's a WRDS problem. The code needs to read data from WRDS and generate the results but it fails to read the dara in compustat and CRSP. WRDS support is not helpful at all either. I tried but still can't solve it.&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 20 Dec 2016 20:30:33 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Problem-with-SAS-WRDS-MACRO-FOR-CARs-SUE-and-ARs-by-Denys/m-p/320339#M70544</guid>
      <dc:creator>HannahPhD</dc:creator>
      <dc:date>2016-12-20T20:30:33Z</dc:date>
    </item>
    <item>
      <title>Re: Problem with SAS WRDS MACRO FOR CARs, SUE, and ARs by Denys Glushkov</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Problem-with-SAS-WRDS-MACRO-FOR-CARs-SUE-and-ARs-by-Denys/m-p/320356#M70552</link>
      <description>&lt;P&gt;It will work much better to post code or log results into the code box opened with the {i} on the menu. Microsoft documents, besides problems with potential virus content and such, have a tendency to strip out formatting that helps indicate where actual errors occur&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Your major problem may start here:&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;FONT color="#ff0080" face="SAS Monospace" size="2"&gt;%include&lt;/FONT&gt; &lt;FONT color="#800080" face="SAS Monospace" size="2"&gt;'/wrds/comp/samples/size_bm.sas'&lt;/FONT&gt;&lt;FONT face="SAS Monospace" size="2"&gt;;&lt;/FONT&gt;&lt;/P&gt;
&lt;P&gt;&lt;FONT face="SAS Monospace" size="2"&gt;WARNING: &lt;/FONT&gt;&lt;FONT color="#ff0000" face="SAS Monospace" size="2"&gt;Physical&lt;/FONT&gt;&lt;FONT face="SAS Monospace" size="2"&gt; file does not exist, /wrds/comp/samples/size_bm&lt;/FONT&gt;&lt;FONT color="#008080" face="SAS Monospace" size="2"&gt;.s&lt;/FONT&gt;&lt;FONT color="#804040" face="SAS Monospace" size="2"&gt;as.&lt;/FONT&gt;&lt;FONT face="SAS Monospace" size="2"&gt; ERROR: Cannot open &lt;/FONT&gt;&lt;FONT color="#ff0080" face="SAS Monospace" size="2"&gt;%INCLUDE&lt;/FONT&gt;&lt;FONT face="SAS Monospace" size="2"&gt; file /wrds/comp/samples/size_bm&lt;/FONT&gt;&lt;FONT color="#008080" face="SAS Monospace" size="2"&gt;.s&lt;/FONT&gt;&lt;FONT color="#804040" face="SAS Monospace" size="2"&gt;as.&lt;/FONT&gt;&lt;/P&gt;
&lt;P&gt;&lt;FONT color="#804040" face="SAS Monospace" size="2"&gt;Either the path is incorrect or the code file doesn't exist in that location. If the code in that file is supposed to create the datasets or variables used in later steps then that may be the root cause.&lt;/FONT&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;FONT color="#804040" face="SAS Monospace" size="2"&gt;If that code was supposed to put the variable USEDFLAG into the dataset LNK that may be the cause of the further errors referencing the missing variable USEDFLAG in LNK. Since the dataset COMP1 was supposed to be made but fails all of the later code that wants COMP1 also fails.&lt;/FONT&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;FONT color="#804040" face="SAS Monospace" size="2"&gt;So start fixing those issues at the top. Verify the location and name of files, that you or the server running the program if any, has access to the paths used and permissions to read the file(s) and that spelling is correct. Note that case in the name may well matter. If the code references /size_bm.sas and the file is actually named Size_BM then the name may not match and hence not found.&lt;/FONT&gt;&lt;/P&gt;</description>
      <pubDate>Tue, 20 Dec 2016 21:05:54 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Problem-with-SAS-WRDS-MACRO-FOR-CARs-SUE-and-ARs-by-Denys/m-p/320356#M70552</guid>
      <dc:creator>ballardw</dc:creator>
      <dc:date>2016-12-20T21:05:54Z</dc:date>
    </item>
    <item>
      <title>Re: Problem with SAS WRDS MACRO FOR CARs, SUE, and ARs by Denys Glushkov</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Problem-with-SAS-WRDS-MACRO-FOR-CARs-SUE-and-ARs-by-Denys/m-p/320412#M70566</link>
      <description>&lt;P&gt;Make sure that file&amp;nbsp;&lt;SPAN&gt;/wrds/comp/samples/&lt;STRONG&gt;size_bm.sas&lt;/STRONG&gt; physically exists where you're looking for it. Else copy the file to this path or change the path to where size_bm.sas exists.&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;If you don't have such a program at all then create it. Not sure if there is any copyright on this code but I found a source here:&amp;nbsp;&lt;/SPAN&gt;&lt;SPAN&gt;&lt;A href="https://github.com/jblocher/sas_util/blob/master/size_bm.sas&amp;nbsp;" target="_blank"&gt;https://github.com/jblocher/sas_util/blob/master/size_bm.sas&amp;nbsp;&lt;/A&gt;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 21 Dec 2016 07:28:04 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Problem-with-SAS-WRDS-MACRO-FOR-CARs-SUE-and-ARs-by-Denys/m-p/320412#M70566</guid>
      <dc:creator>Patrick</dc:creator>
      <dc:date>2016-12-21T07:28:04Z</dc:date>
    </item>
    <item>
      <title>Re: Problem with SAS WRDS MACRO FOR CARs, SUE, and ARs by Denys Glushkov</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Problem-with-SAS-WRDS-MACRO-FOR-CARs-SUE-and-ARs-by-Denys/m-p/325906#M72537</link>
      <description>&lt;P&gt;Add this after rsubmit&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;%include '!SASROOT/wrdslib.sas' ;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 19 Jan 2017 08:27:32 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Problem-with-SAS-WRDS-MACRO-FOR-CARs-SUE-and-ARs-by-Denys/m-p/325906#M72537</guid>
      <dc:creator>james3</dc:creator>
      <dc:date>2017-01-19T08:27:32Z</dc:date>
    </item>
  </channel>
</rss>

