<?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: proc dataset file does not exist error in New SAS User</title>
    <link>https://communities.sas.com/t5/New-SAS-User/proc-dataset-file-does-not-exist-error/m-p/613960#M18515</link>
    <description>&lt;a href="https://communities.sas.com/t5/user/viewprofilepage/user-id/11562"&gt;@Kurt_Bremser&lt;/a&gt;, I viewed the linux file location using IPSwitch. Indeed the filename ends with a capital "_TEST". Is the capitalization causing my error? Since this isn't my dataset, is there a way to work around this without changing the file name?</description>
    <pubDate>Thu, 26 Dec 2019 19:32:23 GMT</pubDate>
    <dc:creator>supp</dc:creator>
    <dc:date>2019-12-26T19:32:23Z</dc:date>
    <item>
      <title>proc dataset file does not exist error</title>
      <link>https://communities.sas.com/t5/New-SAS-User/proc-dataset-file-does-not-exist-error/m-p/613948#M18506</link>
      <description>&lt;P&gt;In our shop we have a library we use to store datasets that we want to keep longer than our WORK library. I wanted to explore this library a little so I ran this code:&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;PRE&gt;proc datasets lib=&amp;lt;libref&amp;gt;;
    contents data=_ALL_
	     memtype = data;
quit;&lt;/PRE&gt;
&lt;P&gt;I get the following error:&lt;/P&gt;
&lt;BLOCKQUOTE&gt;
&lt;P&gt;ERROR: File &amp;lt;libref&amp;gt;.&amp;lt;data_set_name&amp;gt;.DATA does not exist.&lt;/P&gt;
&lt;/BLOCKQUOTE&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Any thoughts on what is causing this?&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;I am using EG on a windows device with SAS running in a grid environment on Linux. SAS v9.4.&lt;/P&gt;</description>
      <pubDate>Thu, 26 Dec 2019 19:00:35 GMT</pubDate>
      <guid>https://communities.sas.com/t5/New-SAS-User/proc-dataset-file-does-not-exist-error/m-p/613948#M18506</guid>
      <dc:creator>supp</dc:creator>
      <dc:date>2019-12-26T19:00:35Z</dc:date>
    </item>
    <item>
      <title>Re: proc dataset file does not exist error</title>
      <link>https://communities.sas.com/t5/New-SAS-User/proc-dataset-file-does-not-exist-error/m-p/613950#M18507</link>
      <description>&lt;P&gt;Why didn't you mention the library reference name i.e libref in your code that you would have assigned with a libname statement?&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Also you could try&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;proc contents data=libref._all_ nods;&lt;/P&gt;
&lt;P&gt;run;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&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/18331"&gt;@supp&lt;/a&gt;&amp;nbsp;wrote:&lt;BR /&gt;
&lt;P&gt;&lt;STRONG&gt;In our shop we have a library we use to store datasets that we want to keep longer than our WORK library.&lt;/STRONG&gt; I wanted to explore this library a little so I ran this code:&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;PRE&gt;proc datasets lib=&amp;lt;libref&amp;gt;;
    contents data=_ALL_
	     memtype = data;
quit;&lt;/PRE&gt;
&lt;P&gt;I get the following error:&lt;/P&gt;
&lt;BLOCKQUOTE&gt;
&lt;P&gt;ERROR: File &amp;lt;libref&amp;gt;.&amp;lt;data_set_name&amp;gt;.DATA does not exist.&lt;/P&gt;
&lt;/BLOCKQUOTE&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Any thoughts on what is causing this?&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;I am using EG on a windows device with SAS running in a grid environment on Linux. SAS v9.4.&lt;/P&gt;
&lt;HR /&gt;&lt;/BLOCKQUOTE&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 26 Dec 2019 19:04:25 GMT</pubDate>
      <guid>https://communities.sas.com/t5/New-SAS-User/proc-dataset-file-does-not-exist-error/m-p/613950#M18507</guid>
      <dc:creator>novinosrin</dc:creator>
      <dc:date>2019-12-26T19:04:25Z</dc:date>
    </item>
    <item>
      <title>Re: proc dataset file does not exist error</title>
      <link>https://communities.sas.com/t5/New-SAS-User/proc-dataset-file-does-not-exist-error/m-p/613952#M18508</link>
      <description>My code doesn't have a libname statement. I assume the library must be getting assigned automatically with the way we have our environment set up.  I use the library regularly and have created multiple datasets there.</description>
      <pubDate>Thu, 26 Dec 2019 19:09:45 GMT</pubDate>
      <guid>https://communities.sas.com/t5/New-SAS-User/proc-dataset-file-does-not-exist-error/m-p/613952#M18508</guid>
      <dc:creator>supp</dc:creator>
      <dc:date>2019-12-26T19:09:45Z</dc:date>
    </item>
    <item>
      <title>Re: proc dataset file does not exist error</title>
      <link>https://communities.sas.com/t5/New-SAS-User/proc-dataset-file-does-not-exist-error/m-p/613953#M18509</link>
      <description>&lt;P&gt;Okay well I think you have stumped me as I am clueless.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Anyways, is it possible for you to run the below and examine the log to see your desired name is in the list?&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;PRE&gt;&lt;CODE class=" language-sas"&gt;libname _all_ list;&lt;/CODE&gt;&lt;/PRE&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 26 Dec 2019 19:14:43 GMT</pubDate>
      <guid>https://communities.sas.com/t5/New-SAS-User/proc-dataset-file-does-not-exist-error/m-p/613953#M18509</guid>
      <dc:creator>novinosrin</dc:creator>
      <dc:date>2019-12-26T19:14:43Z</dc:date>
    </item>
    <item>
      <title>Re: proc dataset file does not exist error</title>
      <link>https://communities.sas.com/t5/New-SAS-User/proc-dataset-file-does-not-exist-error/m-p/613954#M18510</link>
      <description>&lt;P&gt;When I run:&lt;/P&gt;
&lt;PRE&gt;proc contents data=libref._all_ nods;

run;&lt;/PRE&gt;
&lt;P&gt;The program runs but I get no output&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;When I remove the 'nods' I get the same error message as the original proc datasets program.&lt;/P&gt;</description>
      <pubDate>Thu, 26 Dec 2019 19:14:54 GMT</pubDate>
      <guid>https://communities.sas.com/t5/New-SAS-User/proc-dataset-file-does-not-exist-error/m-p/613954#M18510</guid>
      <dc:creator>supp</dc:creator>
      <dc:date>2019-12-26T19:14:54Z</dc:date>
    </item>
    <item>
      <title>Re: proc dataset file does not exist error</title>
      <link>https://communities.sas.com/t5/New-SAS-User/proc-dataset-file-does-not-exist-error/m-p/613956#M18512</link>
      <description>&lt;P&gt;When I run:&lt;/P&gt;
&lt;PRE&gt;libname _all_ list;&lt;/PRE&gt;
&lt;P&gt;I can find the library of interest in my log. I don't think it is a problem with the library, but rather the specific data set associated with the file not found error. I don't understand how the proc datasets can identify the data set name and state it doesn't exist?&lt;/P&gt;</description>
      <pubDate>Thu, 26 Dec 2019 19:20:09 GMT</pubDate>
      <guid>https://communities.sas.com/t5/New-SAS-User/proc-dataset-file-does-not-exist-error/m-p/613956#M18512</guid>
      <dc:creator>supp</dc:creator>
      <dc:date>2019-12-26T19:20:09Z</dc:date>
    </item>
    <item>
      <title>Re: proc dataset file does not exist error</title>
      <link>https://communities.sas.com/t5/New-SAS-User/proc-dataset-file-does-not-exist-error/m-p/613957#M18513</link>
      <description>&lt;P&gt;So what is the name of library of interest?&lt;/P&gt;</description>
      <pubDate>Thu, 26 Dec 2019 19:21:08 GMT</pubDate>
      <guid>https://communities.sas.com/t5/New-SAS-User/proc-dataset-file-does-not-exist-error/m-p/613957#M18513</guid>
      <dc:creator>novinosrin</dc:creator>
      <dc:date>2019-12-26T19:21:08Z</dc:date>
    </item>
    <item>
      <title>Re: proc dataset file does not exist error</title>
      <link>https://communities.sas.com/t5/New-SAS-User/proc-dataset-file-does-not-exist-error/m-p/613959#M18514</link>
      <description>&lt;P&gt;One thing I would look for is a .sas7bdat file there where the filename is not all lowercase.&lt;/P&gt;</description>
      <pubDate>Thu, 26 Dec 2019 19:24:27 GMT</pubDate>
      <guid>https://communities.sas.com/t5/New-SAS-User/proc-dataset-file-does-not-exist-error/m-p/613959#M18514</guid>
      <dc:creator>Kurt_Bremser</dc:creator>
      <dc:date>2019-12-26T19:24:27Z</dc:date>
    </item>
    <item>
      <title>Re: proc dataset file does not exist error</title>
      <link>https://communities.sas.com/t5/New-SAS-User/proc-dataset-file-does-not-exist-error/m-p/613960#M18515</link>
      <description>&lt;a href="https://communities.sas.com/t5/user/viewprofilepage/user-id/11562"&gt;@Kurt_Bremser&lt;/a&gt;, I viewed the linux file location using IPSwitch. Indeed the filename ends with a capital "_TEST". Is the capitalization causing my error? Since this isn't my dataset, is there a way to work around this without changing the file name?</description>
      <pubDate>Thu, 26 Dec 2019 19:32:23 GMT</pubDate>
      <guid>https://communities.sas.com/t5/New-SAS-User/proc-dataset-file-does-not-exist-error/m-p/613960#M18515</guid>
      <dc:creator>supp</dc:creator>
      <dc:date>2019-12-26T19:32:23Z</dc:date>
    </item>
    <item>
      <title>Re: proc dataset file does not exist error</title>
      <link>https://communities.sas.com/t5/New-SAS-User/proc-dataset-file-does-not-exist-error/m-p/613961#M18516</link>
      <description>&lt;P&gt;The capitalization is the problem. Rename (or have renamed) the file to lowercase. As long as it is there in its current form, it will cause problems.&lt;/P&gt;
&lt;P&gt;Proc datasets goes searching for all files with .sas7bdat, .sas7bvew or .sas7bcat extensions, and then opens those with the usual means/engines, which then fails. SAS data files&amp;nbsp;&lt;EM&gt;must&lt;/EM&gt; be all lowercase, period.&lt;/P&gt;</description>
      <pubDate>Thu, 26 Dec 2019 19:38:00 GMT</pubDate>
      <guid>https://communities.sas.com/t5/New-SAS-User/proc-dataset-file-does-not-exist-error/m-p/613961#M18516</guid>
      <dc:creator>Kurt_Bremser</dc:creator>
      <dc:date>2019-12-26T19:38:00Z</dc:date>
    </item>
    <item>
      <title>Re: proc dataset file does not exist error</title>
      <link>https://communities.sas.com/t5/New-SAS-User/proc-dataset-file-does-not-exist-error/m-p/632600#M21100</link>
      <description>&lt;PRE&gt;proc contents data=libref._all_;

run;&lt;/PRE&gt;&lt;P&gt;&amp;nbsp;The above works for me, and the result window shows details of all the data sets in the library.&lt;/P&gt;&lt;P&gt;However&amp;nbsp; if I use &lt;EM&gt;&lt;STRONG&gt;libref._all_nods&lt;/STRONG&gt;&amp;nbsp;&lt;/EM&gt;I'm getting an error stating that&amp;nbsp; &amp;nbsp;&lt;EM&gt;&lt;STRONG&gt;librf._all_nods.data does not exist.&amp;nbsp;&lt;/STRONG&gt;&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;Well we need to give a small space after&amp;nbsp;&lt;STRONG&gt;_all_&amp;nbsp;&lt;/STRONG&gt;&lt;/EM&gt; since nods is an option for the proc statement.&lt;/P&gt;&lt;P&gt;So&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;&lt;STRONG&gt;proc contents data=libref._all_ nods; &lt;/STRONG&gt;&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;&lt;STRONG&gt;run;&lt;/STRONG&gt;&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;works just fine.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 17 Mar 2020 09:39:06 GMT</pubDate>
      <guid>https://communities.sas.com/t5/New-SAS-User/proc-dataset-file-does-not-exist-error/m-p/632600#M21100</guid>
      <dc:creator>VSPNandury</dc:creator>
      <dc:date>2020-03-17T09:39:06Z</dc:date>
    </item>
  </channel>
</rss>

