<?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: Out of resources select in SAS Programming</title>
    <link>https://communities.sas.com/t5/SAS-Programming/Out-of-resources-select/m-p/886034#M350138</link>
    <description>&lt;P&gt;Have you made sure (by using PROC SORT with NODUPKEY) that ID is unique in at least one of the datasets, or is this a many-to-many join?&lt;/P&gt;
&lt;P&gt;How large are the datasets (number of observations, total file size for lab.data1)?&lt;/P&gt;
&lt;P&gt;Depending on this information, a sequence of PROC SORTs and a DATA step can do it, and if lab.data is not too large (number of observations) and unique with regard to ID, a single DATA step with a hash object will achieve your join much more efficiently.&lt;/P&gt;</description>
    <pubDate>Mon, 24 Jul 2023 06:08:25 GMT</pubDate>
    <dc:creator>Kurt_Bremser</dc:creator>
    <dc:date>2023-07-24T06:08:25Z</dc:date>
    <item>
      <title>Out of resources select</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Out-of-resources-select/m-p/886025#M350130</link>
      <description>&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;When I try to merge two datasets by using "proc sql", I always meet this issue. This is my code:&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;Proc sql;&lt;/SPAN&gt;&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;create table lab.data2 as&lt;/SPAN&gt;&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;slelct a*, b. BMI&lt;/SPAN&gt;&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;from lab.data1 as a&lt;/SPAN&gt;&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;left join lab.data as b&lt;/SPAN&gt;&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;on a. ID=b.ID;&lt;/SPAN&gt;&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;run;&lt;/SPAN&gt;&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;I wonder if is there a compress option for "proc sql".&amp;nbsp; How can I write the code with that option? Additionally, I have already changed sasv9 and set sasuser and work file under D drive. &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;"lab" folder was saved under Box under C drive. I wonder if it is better to save the new dataset offline rather than online in Box.&amp;nbsp; I think the C disk is full may also be due to Box. Does anyone meet the same situation? How to deal with that?&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Sun, 23 Jul 2023 23:58:08 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Out-of-resources-select/m-p/886025#M350130</guid>
      <dc:creator>L777</dc:creator>
      <dc:date>2023-07-23T23:58:08Z</dc:date>
    </item>
    <item>
      <title>Re: Out of resources select</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Out-of-resources-select/m-p/886028#M350132</link>
      <description>&lt;P&gt;Open Windows Explorer and check how much free disk space you have on D and C drives. It's not clear from your description which drive you are running out of space on as you will be writing to both. Delete any unwanted files on these drives. Check your D SASWORK folder and delete any old _TDnnnn folders that aren't for your current SAS session. If you have freed up significant space, try rerunning your program.&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 24 Jul 2023 01:48:56 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Out-of-resources-select/m-p/886028#M350132</guid>
      <dc:creator>SASKiwi</dc:creator>
      <dc:date>2023-07-24T01:48:56Z</dc:date>
    </item>
    <item>
      <title>Re: Out of resources select</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Out-of-resources-select/m-p/886034#M350138</link>
      <description>&lt;P&gt;Have you made sure (by using PROC SORT with NODUPKEY) that ID is unique in at least one of the datasets, or is this a many-to-many join?&lt;/P&gt;
&lt;P&gt;How large are the datasets (number of observations, total file size for lab.data1)?&lt;/P&gt;
&lt;P&gt;Depending on this information, a sequence of PROC SORTs and a DATA step can do it, and if lab.data is not too large (number of observations) and unique with regard to ID, a single DATA step with a hash object will achieve your join much more efficiently.&lt;/P&gt;</description>
      <pubDate>Mon, 24 Jul 2023 06:08:25 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Out-of-resources-select/m-p/886034#M350138</guid>
      <dc:creator>Kurt_Bremser</dc:creator>
      <dc:date>2023-07-24T06:08:25Z</dc:date>
    </item>
  </channel>
</rss>

