<?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: %include pathway didn't work? in SAS Programming</title>
    <link>https://communities.sas.com/t5/SAS-Programming/include-pathway-didn-t-work/m-p/668185#M200244</link>
    <description>&lt;P&gt;One thing is when I add two lines together, the code works.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;PRE&gt;%include "\\C:\document\project\user\programs\sas\test_combine_sample.sas"; &lt;/PRE&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;When seperating into two lines as shown above,&amp;nbsp; the '\' between 'SAS' and 'test_combine_sample.sas' is missing&lt;/P&gt;
&lt;P&gt;&lt;LI-WRAPPER&gt;&lt;/LI-WRAPPER&gt;&lt;/P&gt;</description>
    <pubDate>Thu, 09 Jul 2020 20:43:08 GMT</pubDate>
    <dc:creator>ybz12003</dc:creator>
    <dc:date>2020-07-09T20:43:08Z</dc:date>
    <item>
      <title>%include pathway didn't work?</title>
      <link>https://communities.sas.com/t5/SAS-Programming/include-pathway-didn-t-work/m-p/668182#M200242</link>
      <description>&lt;P&gt;Hi expers,&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;I would like to run ten programs in the same SAS folder with different names.&amp;nbsp; The following&amp;nbsp;program 'test_combine_sample.SAS' is one of them.&amp;nbsp; I found out my %Include didn't work.&lt;/P&gt;
&lt;PRE&gt;%let dirb=%str(\\C:\document\project\user\programs\sas\);

%include "&amp;amp;dirb.test_combine_sample.sas"; &lt;/PRE&gt;
&lt;P&gt;The log showed that&lt;/P&gt;
&lt;P&gt;ERROR: Cannot open %INCLUDE file&lt;/P&gt;
&lt;P&gt;&lt;LI-WRAPPER&gt;&lt;/LI-WRAPPER&gt;&lt;/P&gt;
&lt;P&gt;&lt;A target="_blank"&gt;\\C:\document\project\user\programs\sas&lt;/A&gt;.test_combine_sample.sas&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;I feel strange that I did add backslash '\' in the macro dirb.&amp;nbsp;&amp;nbsp; However, it seems like SAS didn't read that.&amp;nbsp;&amp;nbsp; Please let me know how to fix this problem.&amp;nbsp; Thank you.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 09 Jul 2020 20:36:26 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/include-pathway-didn-t-work/m-p/668182#M200242</guid>
      <dc:creator>ybz12003</dc:creator>
      <dc:date>2020-07-09T20:36:26Z</dc:date>
    </item>
    <item>
      <title>Re: %include pathway didn't work?</title>
      <link>https://communities.sas.com/t5/SAS-Programming/include-pathway-didn-t-work/m-p/668185#M200244</link>
      <description>&lt;P&gt;One thing is when I add two lines together, the code works.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;PRE&gt;%include "\\C:\document\project\user\programs\sas\test_combine_sample.sas"; &lt;/PRE&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;When seperating into two lines as shown above,&amp;nbsp; the '\' between 'SAS' and 'test_combine_sample.sas' is missing&lt;/P&gt;
&lt;P&gt;&lt;LI-WRAPPER&gt;&lt;/LI-WRAPPER&gt;&lt;/P&gt;</description>
      <pubDate>Thu, 09 Jul 2020 20:43:08 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/include-pathway-didn-t-work/m-p/668185#M200244</guid>
      <dc:creator>ybz12003</dc:creator>
      <dc:date>2020-07-09T20:43:08Z</dc:date>
    </item>
    <item>
      <title>Re: %include pathway didn't work?</title>
      <link>https://communities.sas.com/t5/SAS-Programming/include-pathway-didn-t-work/m-p/668187#M200245</link>
      <description>&lt;P&gt;Never mind, I know where went wrong.&lt;/P&gt;</description>
      <pubDate>Thu, 09 Jul 2020 20:46:54 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/include-pathway-didn-t-work/m-p/668187#M200245</guid>
      <dc:creator>ybz12003</dc:creator>
      <dc:date>2020-07-09T20:46:54Z</dc:date>
    </item>
  </channel>
</rss>

