<?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 Proc sql error , ERROR: File WORK.FROM.DATA does not exist. in SAS Programming</title>
    <link>https://communities.sas.com/t5/SAS-Programming/Proc-sql-error-ERROR-File-WORK-FROM-DATA-does-not-exist/m-p/641395#M191145</link>
    <description>&lt;P&gt;data customer1;&lt;BR /&gt;input acctno trnsdt date10. trnsamt ;&lt;BR /&gt;format trnsdt date9.;&lt;BR /&gt;cards;&lt;BR /&gt;1 15jan2020 300&lt;BR /&gt;1 15mar2020 1400&lt;BR /&gt;1 16mar2019 1450&lt;BR /&gt;1 16mar2019 1200&lt;BR /&gt;1 18mar2020 1800&lt;BR /&gt;;run;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;The data set executes successfully,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;proc sql;&lt;BR /&gt;select acctno,trnsdt,max(trnsamt) as max from&lt;BR /&gt;from customer1&lt;BR /&gt;group by acctno,trnsdt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;But my proc sql query is not running .&lt;/P&gt;&lt;P&gt;I'm not able to figure out the error.&lt;/P&gt;&lt;P&gt;Error:&lt;/P&gt;&lt;PRE class="sasLog"&gt;ERROR: File WORK.FROM.DATA does not exist.&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;Let me know how can i resolve this.&lt;/PRE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Mon, 20 Apr 2020 16:09:52 GMT</pubDate>
    <dc:creator>adi121</dc:creator>
    <dc:date>2020-04-20T16:09:52Z</dc:date>
    <item>
      <title>Proc sql error , ERROR: File WORK.FROM.DATA does not exist.</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Proc-sql-error-ERROR-File-WORK-FROM-DATA-does-not-exist/m-p/641395#M191145</link>
      <description>&lt;P&gt;data customer1;&lt;BR /&gt;input acctno trnsdt date10. trnsamt ;&lt;BR /&gt;format trnsdt date9.;&lt;BR /&gt;cards;&lt;BR /&gt;1 15jan2020 300&lt;BR /&gt;1 15mar2020 1400&lt;BR /&gt;1 16mar2019 1450&lt;BR /&gt;1 16mar2019 1200&lt;BR /&gt;1 18mar2020 1800&lt;BR /&gt;;run;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;The data set executes successfully,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;proc sql;&lt;BR /&gt;select acctno,trnsdt,max(trnsamt) as max from&lt;BR /&gt;from customer1&lt;BR /&gt;group by acctno,trnsdt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;But my proc sql query is not running .&lt;/P&gt;&lt;P&gt;I'm not able to figure out the error.&lt;/P&gt;&lt;P&gt;Error:&lt;/P&gt;&lt;PRE class="sasLog"&gt;ERROR: File WORK.FROM.DATA does not exist.&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;Let me know how can i resolve this.&lt;/PRE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 20 Apr 2020 16:09:52 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Proc-sql-error-ERROR-File-WORK-FROM-DATA-does-not-exist/m-p/641395#M191145</guid>
      <dc:creator>adi121</dc:creator>
      <dc:date>2020-04-20T16:09:52Z</dc:date>
    </item>
    <item>
      <title>Re: Proc sql error , ERROR: File WORK.FROM.DATA does not exist.</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Proc-sql-error-ERROR-File-WORK-FROM-DATA-does-not-exist/m-p/641397#M191147</link>
      <description>&lt;P&gt;in your code 'from' used twice , remove one 'from'&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;try this&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;PRE&gt;&lt;CODE class=" language-sas"&gt;proc sql;
select acctno,trnsdt,max(trnsamt) as max 
from customer1
group by acctno,trnsdt;&lt;/CODE&gt;&lt;/PRE&gt;</description>
      <pubDate>Mon, 20 Apr 2020 16:12:07 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Proc-sql-error-ERROR-File-WORK-FROM-DATA-does-not-exist/m-p/641397#M191147</guid>
      <dc:creator>Jagadishkatam</dc:creator>
      <dc:date>2020-04-20T16:12:07Z</dc:date>
    </item>
  </channel>
</rss>

