<?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: Invalid data set name error in SAS Programming</title>
    <link>https://communities.sas.com/t5/SAS-Programming/Invalid-data-set-name-error/m-p/493701#M129921</link>
    <description>I am trying to read .txt file on Windows machine. It is not a SAS file.</description>
    <pubDate>Sat, 08 Sep 2018 00:49:09 GMT</pubDate>
    <dc:creator>mrahman</dc:creator>
    <dc:date>2018-09-08T00:49:09Z</dc:date>
    <item>
      <title>Invalid data set name error</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Invalid-data-set-name-error/m-p/493696#M129917</link>
      <description>&lt;P&gt;I am trying to execute the following code and getting the following error. The same code worked in the previous version of SAS but not working now. Any help is appreciated.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;FONT color="#0000ff" face="Courier New" size="2"&gt;libname&lt;/FONT&gt;&lt;FONT face="Courier New" size="2"&gt; input &lt;/FONT&gt;&lt;FONT color="#800080" face="Courier New" size="2"&gt;'D\'&lt;/FONT&gt;&lt;FONT face="Courier New" size="2"&gt;;&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&lt;FONT face="Courier New" size="2"&gt;&amp;nbsp;&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&lt;FONT color="#000080" face="Courier New" size="2"&gt;&lt;STRONG&gt;data&lt;/STRONG&gt;&lt;/FONT&gt;&lt;FONT face="Courier New" size="2"&gt; q4_2015;&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&lt;FONT color="#0000ff" face="Courier New" size="2"&gt;set&lt;/FONT&gt;&lt;FONT face="Courier New" size="2"&gt; input.PUDF_base1_4q2015_tab.txt;&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&lt;FONT color="#0000ff" face="Courier New" size="2"&gt;run&lt;/FONT&gt;&lt;FONT face="Courier New" size="2"&gt;;&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;ERROR: File WORK.PUDF_BASE1_4Q2015_TAB.DATA does not exist.&lt;/P&gt;&lt;P&gt;ERROR 211-185: Invalid data set name.&lt;/P&gt;</description>
      <pubDate>Sat, 08 Sep 2018 00:11:43 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Invalid-data-set-name-error/m-p/493696#M129917</guid>
      <dc:creator>mrahman</dc:creator>
      <dc:date>2018-09-08T00:11:43Z</dc:date>
    </item>
    <item>
      <title>Re: Invalid data set name error</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Invalid-data-set-name-error/m-p/493697#M129918</link>
      <description>&lt;P&gt;assuming that's a sas dataset ,should it be&amp;nbsp;&lt;SPAN&gt;PUDF_base1_4q2015_tab excluding the .txt?&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;FONT face="Courier New" size="2" color="#000080"&gt;&lt;STRONG&gt;data&lt;/STRONG&gt;&lt;/FONT&gt;&lt;FONT face="Courier New" size="2"&gt;&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;q4_2015;&lt;/FONT&gt;&lt;/P&gt;
&lt;P&gt;&lt;FONT face="Courier New" size="2" color="#0000ff"&gt;set&lt;/FONT&gt;&lt;FONT face="Courier New" size="2"&gt;&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;input.PUDF_base1_4q2015_tab;&lt;/FONT&gt;&lt;/P&gt;
&lt;P&gt;&lt;FONT face="Courier New" size="2" color="#0000ff"&gt;run&lt;/FONT&gt;&lt;FONT face="Courier New" size="2"&gt;;&lt;/FONT&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Sat, 08 Sep 2018 00:14:37 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Invalid-data-set-name-error/m-p/493697#M129918</guid>
      <dc:creator>novinosrin</dc:creator>
      <dc:date>2018-09-08T00:14:37Z</dc:date>
    </item>
    <item>
      <title>Re: Invalid data set name error</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Invalid-data-set-name-error/m-p/493699#M129919</link>
      <description>&lt;P&gt;Thanks for your reply. Tried without the .txt but still get the same error. For some reason, it is appending. DATA at the end of the file name. Not sure if that has anything to do with the error or not.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;652 data q4_2015;&lt;/P&gt;&lt;P&gt;653 set input.PUDF_base1_4q2015_tab;&lt;/P&gt;&lt;P&gt;ERROR: File INPUT.PUDF_BASE1_4Q2015_TAB.DATA does not exist.&lt;/P&gt;&lt;P&gt;654 run;&lt;/P&gt;</description>
      <pubDate>Sat, 08 Sep 2018 00:28:58 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Invalid-data-set-name-error/m-p/493699#M129919</guid>
      <dc:creator>mrahman</dc:creator>
      <dc:date>2018-09-08T00:28:58Z</dc:date>
    </item>
    <item>
      <title>Re: Invalid data set name error</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Invalid-data-set-name-error/m-p/493700#M129920</link>
      <description>&lt;P&gt;Do you really have a directory named D that is a sub-directory of whatever directory is the current working directory for your SAS process?&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;If so does it actually contain a file named 'pudf&lt;SPAN&gt;_base1_4q2015_tab.sas7bdat'?&amp;nbsp; &lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;Are you are running on Unix? Does the beginning of the filename really use uppercase letters?&amp;nbsp; If so then SAS on Unix will not see that file since it is looking for the file with the lowercase letters in its name.&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Sat, 08 Sep 2018 00:45:51 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Invalid-data-set-name-error/m-p/493700#M129920</guid>
      <dc:creator>Tom</dc:creator>
      <dc:date>2018-09-08T00:45:51Z</dc:date>
    </item>
    <item>
      <title>Re: Invalid data set name error</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Invalid-data-set-name-error/m-p/493701#M129921</link>
      <description>I am trying to read .txt file on Windows machine. It is not a SAS file.</description>
      <pubDate>Sat, 08 Sep 2018 00:49:09 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Invalid-data-set-name-error/m-p/493701#M129921</guid>
      <dc:creator>mrahman</dc:creator>
      <dc:date>2018-09-08T00:49:09Z</dc:date>
    </item>
    <item>
      <title>Re: Invalid data set name error</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Invalid-data-set-name-error/m-p/493704#M129922</link>
      <description>&lt;BLOCKQUOTE&gt;&lt;HR /&gt;&lt;a href="https://communities.sas.com/t5/user/viewprofilepage/user-id/231668"&gt;@mrahman&lt;/a&gt;&amp;nbsp;wrote:&lt;BR /&gt;It is not a SAS file.&lt;HR /&gt;&lt;/BLOCKQUOTE&gt;
&lt;P&gt;Then why are you trying to read it as one?&lt;/P&gt;
&lt;P&gt;External files need to be imported, either with proc import or as infile (not set!) in a data step.&lt;/P&gt;</description>
      <pubDate>Sat, 08 Sep 2018 01:15:02 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Invalid-data-set-name-error/m-p/493704#M129922</guid>
      <dc:creator>Kurt_Bremser</dc:creator>
      <dc:date>2018-09-08T01:15:02Z</dc:date>
    </item>
    <item>
      <title>Re: Invalid data set name error</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Invalid-data-set-name-error/m-p/493714#M129930</link>
      <description>&lt;P&gt;You cannot reference a text file. You need to import it first, but that depends on the file structure.&amp;nbsp;&lt;/P&gt;
&lt;P&gt;You can try PROC IMPORT or the GUI to import a data set.&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Or you can try a data step:&lt;/P&gt;
&lt;P&gt;&lt;A href="https://stats.idre.ucla.edu/sas/faq/how-do-i-read-in-a-delimited-ascii-file-in-sas/" target="_blank"&gt;https://stats.idre.ucla.edu/sas/faq/how-do-i-read-in-a-delimited-ascii-file-in-sas/&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;BLOCKQUOTE&gt;&lt;HR /&gt;&lt;a href="https://communities.sas.com/t5/user/viewprofilepage/user-id/231668"&gt;@mrahman&lt;/a&gt;&amp;nbsp;wrote:&lt;BR /&gt;
&lt;P&gt;I am trying to execute the following code and getting the following error. The same code worked in the previous version of SAS but not working now. Any help is appreciated.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;FONT face="Courier New" size="2" color="#0000ff"&gt;libname&lt;/FONT&gt;&lt;FONT face="Courier New" size="2"&gt; input &lt;/FONT&gt;&lt;FONT face="Courier New" size="2" color="#800080"&gt;'D\'&lt;/FONT&gt;&lt;FONT face="Courier New" size="2"&gt;;&lt;/FONT&gt;&lt;/P&gt;
&lt;P&gt;&lt;FONT face="Courier New" size="2"&gt;&amp;nbsp;&lt;/FONT&gt;&lt;/P&gt;
&lt;P&gt;&lt;FONT face="Courier New" size="2" color="#000080"&gt;&lt;STRONG&gt;data&lt;/STRONG&gt;&lt;/FONT&gt;&lt;FONT face="Courier New" size="2"&gt; q4_2015;&lt;/FONT&gt;&lt;/P&gt;
&lt;P&gt;&lt;FONT face="Courier New" size="2" color="#0000ff"&gt;set&lt;/FONT&gt;&lt;FONT face="Courier New" size="2"&gt; input.PUDF_base1_4q2015_tab.txt;&lt;/FONT&gt;&lt;/P&gt;
&lt;P&gt;&lt;FONT face="Courier New" size="2" color="#0000ff"&gt;run&lt;/FONT&gt;&lt;FONT face="Courier New" size="2"&gt;;&lt;/FONT&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;ERROR: File WORK.PUDF_BASE1_4Q2015_TAB.DATA does not exist.&lt;/P&gt;
&lt;P&gt;ERROR 211-185: Invalid data set name.&lt;/P&gt;
&lt;HR /&gt;&lt;/BLOCKQUOTE&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Sat, 08 Sep 2018 02:36:28 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Invalid-data-set-name-error/m-p/493714#M129930</guid>
      <dc:creator>Reeza</dc:creator>
      <dc:date>2018-09-08T02:36:28Z</dc:date>
    </item>
    <item>
      <title>Re: Invalid data set name error</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Invalid-data-set-name-error/m-p/493722#M129935</link>
      <description>That worked! Thanks so much for the link.</description>
      <pubDate>Sat, 08 Sep 2018 03:58:51 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Invalid-data-set-name-error/m-p/493722#M129935</guid>
      <dc:creator>mrahman</dc:creator>
      <dc:date>2018-09-08T03:58:51Z</dc:date>
    </item>
  </channel>
</rss>

