<?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: SAS EG complaining file does not exist, but it does in SAS Programming</title>
    <link>https://communities.sas.com/t5/SAS-Programming/SAS-EG-complaining-file-does-not-exist-but-it-does/m-p/297868#M62593</link>
    <description>&lt;P&gt;With the data open in the data grid, click on the Properties icon (far right side of the toolbar in the data viewer). &amp;nbsp;Use that to verify the data you're looking at is where you think it is.&lt;/P&gt;</description>
    <pubDate>Mon, 12 Sep 2016 22:01:27 GMT</pubDate>
    <dc:creator>ChrisHemedinger</dc:creator>
    <dc:date>2016-09-12T22:01:27Z</dc:date>
    <item>
      <title>SAS EG complaining file does not exist, but it does</title>
      <link>https://communities.sas.com/t5/SAS-Programming/SAS-EG-complaining-file-does-not-exist-but-it-does/m-p/297857#M62585</link>
      <description>Hi,&lt;BR /&gt;&lt;BR /&gt;I'm trying to do a simple LEFT JOIN but when trying to process, SAS tells me the file does not exist. Problem being, of course, the file does exist. Any help?&lt;BR /&gt;&lt;BR /&gt;Here's an example:&lt;BR /&gt;PROC SQL;&lt;BR /&gt;CREATE TABLE WORK.FINAL_DATA AS&lt;BR /&gt;SELECT t1.CAT1,&lt;BR /&gt;t1.CAT2,&lt;BR /&gt;t2.CAT3,&lt;BR /&gt;t1.CAT4&lt;BR /&gt;&lt;BR /&gt;FROM WORK.PRELIM_DATA1 t1&lt;BR /&gt;LEFT JOIN WORK.PRELIM_DATA2 t2 ON (t1.CAT1 = t2.CAT1)&lt;BR /&gt;WHERE (t1.TIMECAT1 &amp;lt;= t2.TIMECAT1) AND (t1.TIMECAT1 &amp;gt;= t2.TIMECAT2);&lt;BR /&gt;QUIT;&lt;BR /&gt;&lt;BR /&gt;So for me it breaks after the WHERE line, telling me that WORK.PRELIM_DATA2.DATA does not exist. Problem is, the table clearly does exist, I can have it open and viewing at the same time I'm trying to execute this query.&lt;BR /&gt;&lt;BR /&gt;Interestingly, this same data also caused SAS to lock up when trying to add it via a Join Tables in the Query Wizard, thus why I'm doing it manually, but something else appears to be causing the issue here.&lt;BR /&gt;&lt;BR /&gt;SAS EG 7.1</description>
      <pubDate>Mon, 12 Sep 2016 20:49:42 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/SAS-EG-complaining-file-does-not-exist-but-it-does/m-p/297857#M62585</guid>
      <dc:creator>Goose306</dc:creator>
      <dc:date>2016-09-12T20:49:42Z</dc:date>
    </item>
    <item>
      <title>Re: SAS EG complaining file does not exist, but it does</title>
      <link>https://communities.sas.com/t5/SAS-Programming/SAS-EG-complaining-file-does-not-exist-but-it-does/m-p/297862#M62589</link>
      <description>&lt;P&gt;Can you post the output from a proc contents?&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;PRE&gt;&lt;CODE class=" language-sas"&gt;proc datasets lib=work;
run;&lt;/CODE&gt;&lt;/PRE&gt;</description>
      <pubDate>Mon, 12 Sep 2016 21:16:56 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/SAS-EG-complaining-file-does-not-exist-but-it-does/m-p/297862#M62589</guid>
      <dc:creator>Reeza</dc:creator>
      <dc:date>2016-09-12T21:16:56Z</dc:date>
    </item>
    <item>
      <title>Re: SAS EG complaining file does not exist, but it does</title>
      <link>https://communities.sas.com/t5/SAS-Programming/SAS-EG-complaining-file-does-not-exist-but-it-does/m-p/297865#M62591</link>
      <description>I do not show the dataset listed for PRELIM_DATA2 when I run this. Interesting, since it shows on my EG window and the data is viewable. How is this corrected?</description>
      <pubDate>Mon, 12 Sep 2016 21:28:45 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/SAS-EG-complaining-file-does-not-exist-but-it-does/m-p/297865#M62591</guid>
      <dc:creator>Goose306</dc:creator>
      <dc:date>2016-09-12T21:28:45Z</dc:date>
    </item>
    <item>
      <title>Re: SAS EG complaining file does not exist, but it does</title>
      <link>https://communities.sas.com/t5/SAS-Programming/SAS-EG-complaining-file-does-not-exist-but-it-does/m-p/297868#M62593</link>
      <description>&lt;P&gt;With the data open in the data grid, click on the Properties icon (far right side of the toolbar in the data viewer). &amp;nbsp;Use that to verify the data you're looking at is where you think it is.&lt;/P&gt;</description>
      <pubDate>Mon, 12 Sep 2016 22:01:27 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/SAS-EG-complaining-file-does-not-exist-but-it-does/m-p/297868#M62593</guid>
      <dc:creator>ChrisHemedinger</dc:creator>
      <dc:date>2016-09-12T22:01:27Z</dc:date>
    </item>
    <item>
      <title>Re: SAS EG complaining file does not exist, but it does</title>
      <link>https://communities.sas.com/t5/SAS-Programming/SAS-EG-complaining-file-does-not-exist-but-it-does/m-p/297874#M62594</link>
      <description>&lt;P&gt;Use the following code to see the&amp;nbsp;library and dataset name. Most likely it's in a library that's not WORK. &amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;PRE&gt;&lt;CODE class=" language-sas"&gt;proc sql;
select libname, memname, 
from sashelp.vtable
where upper(memname)='PRELIM_DATA2';
quit;&lt;/CODE&gt;&lt;/PRE&gt;</description>
      <pubDate>Mon, 12 Sep 2016 23:22:51 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/SAS-EG-complaining-file-does-not-exist-but-it-does/m-p/297874#M62594</guid>
      <dc:creator>Reeza</dc:creator>
      <dc:date>2016-09-12T23:22:51Z</dc:date>
    </item>
    <item>
      <title>Re: SAS EG complaining file does not exist, but it does</title>
      <link>https://communities.sas.com/t5/SAS-Programming/SAS-EG-complaining-file-does-not-exist-but-it-does/m-p/297920#M62608</link>
      <description>&lt;P&gt;Do you see WORK.PRELIM_DATA2 on the &lt;U&gt;exact&lt;/U&gt; same workspace server instance where you try to execute the query?&lt;/P&gt;</description>
      <pubDate>Tue, 13 Sep 2016 06:17:12 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/SAS-EG-complaining-file-does-not-exist-but-it-does/m-p/297920#M62608</guid>
      <dc:creator>Kurt_Bremser</dc:creator>
      <dc:date>2016-09-13T06:17:12Z</dc:date>
    </item>
    <item>
      <title>Re: SAS EG complaining file does not exist, but it does</title>
      <link>https://communities.sas.com/t5/SAS-Programming/SAS-EG-complaining-file-does-not-exist-but-it-does/m-p/298025#M62628</link>
      <description>&lt;P&gt;Thanks - this one tipped me off. I was hovering over the table in the EG space and noticed it was on a different server - my SAS has two identical servers, and this one was located on the WORK directory on the other server. Rookie mistake.&amp;nbsp;&lt;img id="manembarrassed" class="emoticon emoticon-manembarrassed" src="https://communities.sas.com/i/smilies/16x16_man-embarrassed.png" alt="Man Embarassed" title="Man Embarassed" /&gt;&lt;/P&gt;</description>
      <pubDate>Tue, 13 Sep 2016 13:25:22 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/SAS-EG-complaining-file-does-not-exist-but-it-does/m-p/298025#M62628</guid>
      <dc:creator>Goose306</dc:creator>
      <dc:date>2016-09-13T13:25:22Z</dc:date>
    </item>
  </channel>
</rss>

