<?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 ERROR in SAS Programming</title>
    <link>https://communities.sas.com/t5/SAS-Programming/INCLUDE-ERROR/m-p/368168#M275200</link>
    <description>&lt;P&gt;I'm using SAS Enterprise Guide 4.1&lt;/P&gt;</description>
    <pubDate>Mon, 19 Jun 2017 06:17:19 GMT</pubDate>
    <dc:creator>Timbim</dc:creator>
    <dc:date>2017-06-19T06:17:19Z</dc:date>
    <item>
      <title>%INCLUDE ERROR</title>
      <link>https://communities.sas.com/t5/SAS-Programming/INCLUDE-ERROR/m-p/366394#M275192</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;I've just completed&amp;nbsp; SAS Programming 2 &amp;nbsp;few weeks ago.&amp;nbsp;Now, I&amp;nbsp;am trying to do the execises again and have copied the sas training&amp;nbsp;files to a local drive.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I am trying to run&amp;nbsp;the program to run that creates the &amp;nbsp;data (cre8data). It includes the following:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;%let path=s:/workshop;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;%include "&amp;amp;path/setup.sas";&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I have updated the path to point to the local drive on my PC however keep getting the following error.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;WARNING: Physical file does not exist, /bqlpnas02.boq.local/user/timbim/SAS Exercises/setup.sas.&lt;/P&gt;&lt;P&gt;ERROR: Cannot open %INCLUDE file /bqlpnas02.boq.local/user/timbim/SAS Exercises/setup.sas.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Could anyone help me identify the issue please?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks kindly,&lt;/P&gt;&lt;P&gt;Mags&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 13 Jun 2017 04:08:31 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/INCLUDE-ERROR/m-p/366394#M275192</guid>
      <dc:creator>Timbim</dc:creator>
      <dc:date>2017-06-13T04:08:31Z</dc:date>
    </item>
    <item>
      <title>Re: %INCLUDE ERROR</title>
      <link>https://communities.sas.com/t5/SAS-Programming/INCLUDE-ERROR/m-p/366398#M275193</link>
      <description>&lt;P&gt;Please post the setup.sas program.&lt;/P&gt;
&lt;P&gt;The clue to the errors is there.&lt;/P&gt;</description>
      <pubDate>Tue, 13 Jun 2017 05:24:47 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/INCLUDE-ERROR/m-p/366398#M275193</guid>
      <dc:creator>Shmuel</dc:creator>
      <dc:date>2017-06-13T05:24:47Z</dc:date>
    </item>
    <item>
      <title>Re: %INCLUDE ERROR</title>
      <link>https://communities.sas.com/t5/SAS-Programming/INCLUDE-ERROR/m-p/366406#M275194</link>
      <description>Are you sure that you can access that s: path from the location where your SAS session executes?</description>
      <pubDate>Tue, 13 Jun 2017 06:21:24 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/INCLUDE-ERROR/m-p/366406#M275194</guid>
      <dc:creator>LinusH</dc:creator>
      <dc:date>2017-06-13T06:21:24Z</dc:date>
    </item>
    <item>
      <title>Re: %INCLUDE ERROR</title>
      <link>https://communities.sas.com/t5/SAS-Programming/INCLUDE-ERROR/m-p/366408#M275195</link>
      <description>&lt;P&gt;This:&lt;/P&gt;
&lt;PRE&gt;%let path=s:/workshop;

%include "&amp;amp;path/setup.sas";

WARNING: Physical file does not exist, /&lt;A class="linkification-ext" title="Linkification: http://bqlpnas02.boq.local/user/timbim/SAS" href="http://bqlpnas02.boq.local/user/timbim/SAS" target="_blank"&gt;bqlpnas02.boq.local/user/timbim/SAS&lt;/A&gt; Exercises/setup.sas.

ERROR: Cannot open %INCLUDE file /&lt;A class="linkification-ext" title="Linkification: http://bqlpnas02.boq.local/user/timbim/SAS" href="http://bqlpnas02.boq.local/user/timbim/SAS" target="_blank"&gt;bqlpnas02.boq.local/user/timbim/SAS&lt;/A&gt; Exercises/setup.sas.&lt;/PRE&gt;
&lt;P&gt;does not correlate, as there is no mention of s:\workshop in the WARNING and ERROR. Therefore you must have another place in your code where macro variable path is set to the values resulting in&lt;/P&gt;
&lt;PRE&gt;/bqlpnas02.boq.local/user/timbim/SAS Exercises/&lt;/PRE&gt;</description>
      <pubDate>Tue, 13 Jun 2017 06:54:36 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/INCLUDE-ERROR/m-p/366408#M275195</guid>
      <dc:creator>Kurt_Bremser</dc:creator>
      <dc:date>2017-06-13T06:54:36Z</dc:date>
    </item>
    <item>
      <title>Re: %INCLUDE ERROR</title>
      <link>https://communities.sas.com/t5/SAS-Programming/INCLUDE-ERROR/m-p/366423#M275196</link>
      <description>&lt;P&gt;Are you using SAS University Edition? &amp;nbsp;That runs on a virtual image and you can't stipulate path names to local machine. &amp;nbsp;Look in the help:&lt;/P&gt;
&lt;P&gt;&lt;A href="https://support.sas.com/software/products/university-edition/faq/SAS_libname.htm" target="_blank"&gt;https://support.sas.com/software/products/university-edition/faq/SAS_libname.htm&lt;/A&gt;&lt;/P&gt;</description>
      <pubDate>Tue, 13 Jun 2017 07:59:17 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/INCLUDE-ERROR/m-p/366423#M275196</guid>
      <dc:creator>RW9</dc:creator>
      <dc:date>2017-06-13T07:59:17Z</dc:date>
    </item>
    <item>
      <title>Re: %INCLUDE ERROR</title>
      <link>https://communities.sas.com/t5/SAS-Programming/INCLUDE-ERROR/m-p/368114#M275197</link>
      <description>&lt;P&gt;Hi Shmuel,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;My first posting was incorrect. Below is the script and the warning message:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I am trying to run&amp;nbsp;the program to run that creates the &amp;nbsp;data (cre8data). It includes the following:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;%let path=bqlpnas02.boq.local/user/timbim/SAS Exercises;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;%include "&amp;amp;path/setup.sas";&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I have updated the path to point to the local drive on my PC however keep getting the following error.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;WARNING: Physical file does not exist, /bqlpnas02.boq.local/user/timbim/SAS Exercises/setup.sas.&lt;/P&gt;&lt;P&gt;ERROR: Cannot open %INCLUDE file /bqlpnas02.boq.local/user/timbim/SAS Exercises/setup.sas.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Appreciate your help.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Mags&lt;/P&gt;</description>
      <pubDate>Sun, 18 Jun 2017 23:53:49 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/INCLUDE-ERROR/m-p/368114#M275197</guid>
      <dc:creator>Timbim</dc:creator>
      <dc:date>2017-06-18T23:53:49Z</dc:date>
    </item>
    <item>
      <title>Re: %INCLUDE ERROR</title>
      <link>https://communities.sas.com/t5/SAS-Programming/INCLUDE-ERROR/m-p/368115#M275198</link>
      <description>&lt;P&gt;My first posting was incorrect. Below is the script and the warning message:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I am trying to run&amp;nbsp;the program to run that creates the &amp;nbsp;data (cre8data). It includes the following:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;%let path=bqlpnas02.boq.local/user/timbim/SAS Exercises;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;%include "&amp;amp;path/setup.sas";&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I have updated the path to point to the local drive on my PC however keep getting the following error.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;WARNING: Physical file does not exist, /bqlpnas02.boq.local/user/timbim/SAS Exercises/setup.sas.&lt;/P&gt;&lt;P&gt;ERROR: Cannot open %INCLUDE file /bqlpnas02.boq.local/user/timbim/SAS Exercises/setup.sas.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Appreciate your help.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Mags&lt;/P&gt;</description>
      <pubDate>Sun, 18 Jun 2017 23:54:43 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/INCLUDE-ERROR/m-p/368115#M275198</guid>
      <dc:creator>Timbim</dc:creator>
      <dc:date>2017-06-18T23:54:43Z</dc:date>
    </item>
    <item>
      <title>Re: %INCLUDE ERROR</title>
      <link>https://communities.sas.com/t5/SAS-Programming/INCLUDE-ERROR/m-p/368117#M275199</link>
      <description>&lt;P&gt;see&amp;nbsp;&lt;a href="https://communities.sas.com/t5/user/viewprofilepage/user-id/45151"&gt;@RW9&lt;/a&gt;'s post in the bottom.&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Are you using SAS University Edition &amp;nbsp;(SAS UE) ?&lt;/P&gt;</description>
      <pubDate>Mon, 19 Jun 2017 00:12:51 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/INCLUDE-ERROR/m-p/368117#M275199</guid>
      <dc:creator>Shmuel</dc:creator>
      <dc:date>2017-06-19T00:12:51Z</dc:date>
    </item>
    <item>
      <title>Re: %INCLUDE ERROR</title>
      <link>https://communities.sas.com/t5/SAS-Programming/INCLUDE-ERROR/m-p/368168#M275200</link>
      <description>&lt;P&gt;I'm using SAS Enterprise Guide 4.1&lt;/P&gt;</description>
      <pubDate>Mon, 19 Jun 2017 06:17:19 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/INCLUDE-ERROR/m-p/368168#M275200</guid>
      <dc:creator>Timbim</dc:creator>
      <dc:date>2017-06-19T06:17:19Z</dc:date>
    </item>
    <item>
      <title>Re: %INCLUDE ERROR</title>
      <link>https://communities.sas.com/t5/SAS-Programming/INCLUDE-ERROR/m-p/368179#M275201</link>
      <description>&lt;P&gt;Enterprise Guide is just the GUI frontend for the SAS System. Since your problem is with code that runs in the SAS process, you have to take care that file references will work there.&lt;/P&gt;
&lt;P&gt;So you need to look at&lt;/P&gt;
&lt;P&gt;- local (PC only) or client/server installation?&lt;/P&gt;
&lt;P&gt;- if client/server, which operating system is used on the server (I presume UNIX from your previous posts), and how is a shared resource (I guess that the s:\ drive is such) mounted there?&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Ideally, in a server-based environment, one can log on to the server with a file transfer tool like WinSCP and use that to navigate through the server's filesystem, so you can determine the correct pathname for your include.&lt;/P&gt;</description>
      <pubDate>Mon, 19 Jun 2017 07:33:14 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/INCLUDE-ERROR/m-p/368179#M275201</guid>
      <dc:creator>Kurt_Bremser</dc:creator>
      <dc:date>2017-06-19T07:33:14Z</dc:date>
    </item>
  </channel>
</rss>

