<?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 ERROR: File WORK.ALL.DATA does not exist. in New SAS User</title>
    <link>https://communities.sas.com/t5/New-SAS-User/ERROR-File-WORK-ALL-DATA-does-not-exist/m-p/681793#M24056</link>
    <description>&lt;P&gt;Hi ,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I have attached my code where I am taking value of a field which has latest datetime sorted by account and datetime field . But i am contentiously getting&amp;nbsp;&lt;STRONG&gt;ERROR: File WORK.ALL.DATA does not exist.&amp;nbsp;&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;if I put&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;data all;&lt;BR /&gt;set rpl_dcf;&lt;BR /&gt;by WS_ACCT_NUM;&lt;BR /&gt;if last.WS_ACCT_NUM ;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;code before sorting then obviously it will say your variables are not sorted something.&amp;nbsp;&lt;/P&gt;&lt;P&gt;Please help that's what is an issue?&amp;nbsp;&lt;/P&gt;&lt;P&gt;Help will be appreciated.&amp;nbsp;&lt;BR /&gt;I have attached log message too .&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Sat, 05 Sep 2020 14:08:13 GMT</pubDate>
    <dc:creator>librasonali</dc:creator>
    <dc:date>2020-09-05T14:08:13Z</dc:date>
    <item>
      <title>ERROR: File WORK.ALL.DATA does not exist.</title>
      <link>https://communities.sas.com/t5/New-SAS-User/ERROR-File-WORK-ALL-DATA-does-not-exist/m-p/681793#M24056</link>
      <description>&lt;P&gt;Hi ,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I have attached my code where I am taking value of a field which has latest datetime sorted by account and datetime field . But i am contentiously getting&amp;nbsp;&lt;STRONG&gt;ERROR: File WORK.ALL.DATA does not exist.&amp;nbsp;&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;if I put&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;data all;&lt;BR /&gt;set rpl_dcf;&lt;BR /&gt;by WS_ACCT_NUM;&lt;BR /&gt;if last.WS_ACCT_NUM ;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;code before sorting then obviously it will say your variables are not sorted something.&amp;nbsp;&lt;/P&gt;&lt;P&gt;Please help that's what is an issue?&amp;nbsp;&lt;/P&gt;&lt;P&gt;Help will be appreciated.&amp;nbsp;&lt;BR /&gt;I have attached log message too .&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Sat, 05 Sep 2020 14:08:13 GMT</pubDate>
      <guid>https://communities.sas.com/t5/New-SAS-User/ERROR-File-WORK-ALL-DATA-does-not-exist/m-p/681793#M24056</guid>
      <dc:creator>librasonali</dc:creator>
      <dc:date>2020-09-05T14:08:13Z</dc:date>
    </item>
    <item>
      <title>Re: ERROR: File WORK.ALL.DATA does not exist.</title>
      <link>https://communities.sas.com/t5/New-SAS-User/ERROR-File-WORK-ALL-DATA-does-not-exist/m-p/681797#M24058</link>
      <description>&lt;P&gt;You can't sort ALL because it hasn't been created yet. Try sorting the&amp;nbsp;rpl_dcf data, like this:&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;PRE&gt;&lt;CODE class=" language-sas"&gt;Proc sort data =rpl_dcf;
   by WS_ACCT_NUM WS_EMAIL_ADDR_LAST ;
run;&lt;/CODE&gt;&lt;/PRE&gt;</description>
      <pubDate>Sat, 05 Sep 2020 11:05:18 GMT</pubDate>
      <guid>https://communities.sas.com/t5/New-SAS-User/ERROR-File-WORK-ALL-DATA-does-not-exist/m-p/681797#M24058</guid>
      <dc:creator>Rick_SAS</dc:creator>
      <dc:date>2020-09-05T11:05:18Z</dc:date>
    </item>
    <item>
      <title>Re: ERROR: File WORK.ALL.DATA does not exist.</title>
      <link>https://communities.sas.com/t5/New-SAS-User/ERROR-File-WORK-ALL-DATA-does-not-exist/m-p/681801#M24059</link>
      <description>&lt;P&gt;thanks Rick !&lt;BR /&gt;right i did sort rpl_dcf and it worked . one more doubt&lt;BR /&gt;is there any difference in&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;data rpl_dcf;&lt;BR /&gt;set rpl.rplcandcf_eaddr083020&lt;BR /&gt;rpl.rplcandcf_eaddrpii083020;&lt;BR /&gt;run;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;or&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;data rpl_dcf;&lt;BR /&gt;set rpl.rplcandcf_eaddr083020;&amp;nbsp;&lt;BR /&gt;set rpl.rplcandcf_eaddrpii083020;&lt;BR /&gt;run;&lt;/P&gt;</description>
      <pubDate>Sat, 05 Sep 2020 12:14:24 GMT</pubDate>
      <guid>https://communities.sas.com/t5/New-SAS-User/ERROR-File-WORK-ALL-DATA-does-not-exist/m-p/681801#M24059</guid>
      <dc:creator>librasonali</dc:creator>
      <dc:date>2020-09-05T12:14:24Z</dc:date>
    </item>
    <item>
      <title>Re: ERROR: File WORK.ALL.DATA does not exist.</title>
      <link>https://communities.sas.com/t5/New-SAS-User/ERROR-File-WORK-ALL-DATA-does-not-exist/m-p/681804#M24061</link>
      <description>&lt;P&gt;Please post the &lt;EM&gt;whole&lt;/EM&gt; log from the step that creates this output. Post the log by copy/pasting it into a window opened with the &amp;lt;/&amp;gt; button.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Sat, 05 Sep 2020 12:09:32 GMT</pubDate>
      <guid>https://communities.sas.com/t5/New-SAS-User/ERROR-File-WORK-ALL-DATA-does-not-exist/m-p/681804#M24061</guid>
      <dc:creator>Kurt_Bremser</dc:creator>
      <dc:date>2020-09-05T12:09:32Z</dc:date>
    </item>
    <item>
      <title>Re: ERROR: File WORK.ALL.DATA does not exist.</title>
      <link>https://communities.sas.com/t5/New-SAS-User/ERROR-File-WORK-ALL-DATA-does-not-exist/m-p/681809#M24062</link>
      <description>&lt;P&gt;If you use one SET statement&lt;/P&gt;
&lt;PRE&gt;&lt;CODE class=" language-sas"&gt;set rpl.rplcandcf_eaddr083020 rpl.rplcandcf_eaddrpii083020;&lt;/CODE&gt;&lt;/PRE&gt;
&lt;P&gt;it reads the datasets in the order. So first it reads the observations from the first one, then it reads those from the second one.&lt;/P&gt;
&lt;P&gt;If you use two SET statements&lt;/P&gt;
&lt;PRE&gt;&lt;CODE class=" language-sas"&gt;set rpl.rplcandcf_eaddr083020 ;
set rpl.rplcandcf_eaddrpii083020;&lt;/CODE&gt;&lt;/PRE&gt;
&lt;P&gt;it reads one observation from each dataset on each iteration of the data step.&lt;/P&gt;
&lt;P&gt;So if the two datasets have N and M observations then the first will yield N+M observations and the second will yield the MIN(N,M) observations.&lt;/P&gt;</description>
      <pubDate>Sat, 05 Sep 2020 13:43:32 GMT</pubDate>
      <guid>https://communities.sas.com/t5/New-SAS-User/ERROR-File-WORK-ALL-DATA-does-not-exist/m-p/681809#M24062</guid>
      <dc:creator>Tom</dc:creator>
      <dc:date>2020-09-05T13:43:32Z</dc:date>
    </item>
    <item>
      <title>Re: ERROR: File WORK.ALL.DATA does not exist.</title>
      <link>https://communities.sas.com/t5/New-SAS-User/ERROR-File-WORK-ALL-DATA-does-not-exist/m-p/681811#M24063</link>
      <description>i got it that a combination of the two data sets would form a single observation in the new data set.&lt;BR /&gt;thank you !&lt;BR /&gt;</description>
      <pubDate>Sat, 05 Sep 2020 14:07:08 GMT</pubDate>
      <guid>https://communities.sas.com/t5/New-SAS-User/ERROR-File-WORK-ALL-DATA-does-not-exist/m-p/681811#M24063</guid>
      <dc:creator>librasonali</dc:creator>
      <dc:date>2020-09-05T14:07:08Z</dc:date>
    </item>
  </channel>
</rss>

