<?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 Filename Statement in SAS Procedures</title>
    <link>https://communities.sas.com/t5/SAS-Procedures/Filename-Statement/m-p/16009#M2874</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;And, for your reference, the maximum lengths of various names you can use in SAS are shown at:&lt;/P&gt;&lt;P&gt;&lt;A href="http://support.sas.com/documentation/cdl/en/lrcon/62955/HTML/default/viewer.htm#a000998953.htm"&gt;http://support.sas.com/documentation/cdl/en/lrcon/62955/HTML/default/viewer.htm#a000998953.htm&lt;/A&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Sun, 25 Sep 2011 16:38:43 GMT</pubDate>
    <dc:creator>art297</dc:creator>
    <dc:date>2011-09-25T16:38:43Z</dc:date>
    <item>
      <title>Filename Statement</title>
      <link>https://communities.sas.com/t5/SAS-Procedures/Filename-Statement/m-p/16005#M2870</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Can filename statment read extenal files in a disk other than C disk? if so, what is wrong with my code?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;My code:"&lt;/P&gt;&lt;P&gt;filename political ('F:\Homework\SASDatafile\political.csv');&lt;/P&gt;&lt;P&gt;data Vote;&lt;BR /&gt;infile political dsd;&lt;BR /&gt;input State $ Party $ Age;&lt;BR /&gt;run;"&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;and the log:"&lt;/P&gt;&lt;P&gt;105&amp;nbsp; filename political ('F:\Homework\SASDatafile\political.csv');&lt;BR /&gt;ERROR: Invalid logical name.&lt;BR /&gt;ERROR: Error in the FILENAME statement.&lt;BR /&gt;106&lt;BR /&gt;107&amp;nbsp; data Vote;&lt;BR /&gt;108&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; infile political dsd;&lt;BR /&gt;109&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; input State $ Party $ Age;&lt;BR /&gt;110&amp;nbsp; run;&lt;/P&gt;&lt;P&gt;ERROR: Physical file does not exist, C:\Program Files\SAS\SAS 9.1\POLITICAL.&lt;BR /&gt;NOTE: The SAS System stopped processing this step because of errors.&lt;BR /&gt;WARNING: The data set WORK.VOTE may be incomplete.&amp;nbsp; When this step was stopped there were 0 observations and 3&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; variables.&lt;BR /&gt;WARNING: Data set WORK.VOTE was not replaced because this step was stopped."&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I am just a SAS beginner....&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sun, 25 Sep 2011 15:09:46 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Procedures/Filename-Statement/m-p/16005#M2870</guid>
      <dc:creator>ariel_fj</dc:creator>
      <dc:date>2011-09-25T15:09:46Z</dc:date>
    </item>
    <item>
      <title>Filename Statement</title>
      <link>https://communities.sas.com/t5/SAS-Procedures/Filename-Statement/m-p/16006#M2871</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;It should work unless you've typed it incorrectly or have some imbedded spaces that you aren't showing in your code.&amp;nbsp; If there are imbedded spaces change the single quotes to double quotes.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Can you see the file, outside of SAS, using Windows Explorer?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sun, 25 Sep 2011 15:28:29 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Procedures/Filename-Statement/m-p/16006#M2871</guid>
      <dc:creator>art297</dc:creator>
      <dc:date>2011-09-25T15:28:29Z</dc:date>
    </item>
    <item>
      <title>Filename Statement</title>
      <link>https://communities.sas.com/t5/SAS-Procedures/Filename-Statement/m-p/16007#M2872</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt; I can see the file in csv by excel. I double checked my code and am sure there is no imbedded spaces...&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The thing here I cannot understand is that &lt;/P&gt;&lt;P&gt;"&lt;/P&gt;&lt;P&gt;ERROR: Invalid logical name.&lt;/P&gt;&lt;P&gt;ERROR: Error in the FILENAME statement." &amp;amp;&lt;/P&gt;&lt;P&gt;"&lt;/P&gt;&lt;P&gt;ERROR: Physical file does not exist, C:\Program Files\SAS\SAS 9.1\POLITICAL." in log file.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;It seems that the SAS tried to find my file from C disk instead of F disk. Did it?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Many Thanks!&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sun, 25 Sep 2011 16:16:32 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Procedures/Filename-Statement/m-p/16007#M2872</guid>
      <dc:creator>ariel_fj</dc:creator>
      <dc:date>2011-09-25T16:16:32Z</dc:date>
    </item>
    <item>
      <title>Filename Statement</title>
      <link>https://communities.sas.com/t5/SAS-Procedures/Filename-Statement/m-p/16008#M2873</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&amp;nbsp; Change the name in the filename statement so that it is 8 characters or less.&amp;nbsp; Thus, instead of political, try it with politic.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sun, 25 Sep 2011 16:24:01 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Procedures/Filename-Statement/m-p/16008#M2873</guid>
      <dc:creator>art297</dc:creator>
      <dc:date>2011-09-25T16:24:01Z</dc:date>
    </item>
    <item>
      <title>Filename Statement</title>
      <link>https://communities.sas.com/t5/SAS-Procedures/Filename-Statement/m-p/16009#M2874</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;And, for your reference, the maximum lengths of various names you can use in SAS are shown at:&lt;/P&gt;&lt;P&gt;&lt;A href="http://support.sas.com/documentation/cdl/en/lrcon/62955/HTML/default/viewer.htm#a000998953.htm"&gt;http://support.sas.com/documentation/cdl/en/lrcon/62955/HTML/default/viewer.htm#a000998953.htm&lt;/A&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sun, 25 Sep 2011 16:38:43 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Procedures/Filename-Statement/m-p/16009#M2874</guid>
      <dc:creator>art297</dc:creator>
      <dc:date>2011-09-25T16:38:43Z</dc:date>
    </item>
    <item>
      <title>Filename Statement</title>
      <link>https://communities.sas.com/t5/SAS-Procedures/Filename-Statement/m-p/16010#M2875</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt; It works after I changed the name into politic. Thanks a lot!!&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 26 Sep 2011 03:35:27 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Procedures/Filename-Statement/m-p/16010#M2875</guid>
      <dc:creator>ariel_fj</dc:creator>
      <dc:date>2011-09-26T03:35:27Z</dc:date>
    </item>
  </channel>
</rss>

