<?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: Join ? in New SAS User</title>
    <link>https://communities.sas.com/t5/New-SAS-User/Join/m-p/734712#M28634</link>
    <description>&lt;P&gt;I forgot, I don't have multiple values for the dates.&lt;/P&gt;&lt;P&gt;I have a column with 365 days and the corresponded observations for each variables.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Fri, 16 Apr 2021 12:19:28 GMT</pubDate>
    <dc:creator>Guess_</dc:creator>
    <dc:date>2021-04-16T12:19:28Z</dc:date>
    <item>
      <title>Join ?</title>
      <link>https://communities.sas.com/t5/New-SAS-User/Join/m-p/734678#M28629</link>
      <description>&lt;P&gt;Hi all,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;suppose that i have a table 1 with DAY ( all Year 2020)and value for x and y for whom I interested to.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;date&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; x&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;y&lt;/P&gt;&lt;P&gt;01/02/2020&amp;nbsp; &amp;nbsp; &amp;nbsp;2&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;4&lt;/P&gt;&lt;P&gt;02/02/2020&amp;nbsp; &amp;nbsp; &amp;nbsp;3&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;4&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;and table 2 that reported a range of DAY from 2010 to 2020 and a number of value&amp;gt; then table 1&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;date&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; a&amp;nbsp; &amp;nbsp; &amp;nbsp; x&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;y&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; z&lt;/P&gt;&lt;P&gt;01/02/2010&amp;nbsp; &amp;nbsp; &amp;nbsp;1&amp;nbsp; &amp;nbsp; &amp;nbsp; -&lt;/P&gt;&lt;P&gt;02/02/2010&amp;nbsp; &amp;nbsp; &amp;nbsp;1&amp;nbsp; &amp;nbsp; &amp;nbsp; -&lt;/P&gt;&lt;P&gt;.&lt;/P&gt;&lt;P&gt;.&lt;/P&gt;&lt;P&gt;01/02/2020&amp;nbsp; &amp;nbsp; &amp;nbsp; -&amp;nbsp; &amp;nbsp; &amp;nbsp;66&amp;nbsp; &amp;nbsp; &amp;nbsp;55&amp;nbsp; &amp;nbsp; &amp;nbsp; 10&lt;/P&gt;&lt;P&gt;01/02/2020&amp;nbsp; &amp;nbsp; &amp;nbsp; -&amp;nbsp; &amp;nbsp; &amp;nbsp;66&amp;nbsp; &amp;nbsp; &amp;nbsp;55&amp;nbsp; &amp;nbsp; &amp;nbsp; 10&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I would like to have a Table 3 that match on date (only 2020) in order to obtain:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;01/02/2020&amp;nbsp; &amp;nbsp; &amp;nbsp; -&amp;nbsp; &amp;nbsp; &amp;nbsp;2&amp;nbsp; &amp;nbsp; &amp;nbsp;4&amp;nbsp; &amp;nbsp; &amp;nbsp; 10&lt;/P&gt;&lt;P&gt;01/02/2020&amp;nbsp; &amp;nbsp; &amp;nbsp; -&amp;nbsp; &amp;nbsp; &amp;nbsp;3&amp;nbsp; &amp;nbsp; &amp;nbsp;4&amp;nbsp; &amp;nbsp; &amp;nbsp; 10&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;So, i need to compare the two table and add a column in table two in case of which z is missing in table 1 but presente in 2020.&lt;/P&gt;&lt;P&gt;How can perform it in SAS?&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;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 16 Apr 2021 09:07:13 GMT</pubDate>
      <guid>https://communities.sas.com/t5/New-SAS-User/Join/m-p/734678#M28629</guid>
      <dc:creator>Guess_</dc:creator>
      <dc:date>2021-04-16T09:07:13Z</dc:date>
    </item>
    <item>
      <title>Re: Join ?</title>
      <link>https://communities.sas.com/t5/New-SAS-User/Join/m-p/734702#M28630</link>
      <description>&lt;P&gt;Do you have multiple values for a single date in dataset 2, or is that a typo?&lt;/P&gt;</description>
      <pubDate>Fri, 16 Apr 2021 11:36:13 GMT</pubDate>
      <guid>https://communities.sas.com/t5/New-SAS-User/Join/m-p/734702#M28630</guid>
      <dc:creator>Kurt_Bremser</dc:creator>
      <dc:date>2021-04-16T11:36:13Z</dc:date>
    </item>
    <item>
      <title>Re: Join ?</title>
      <link>https://communities.sas.com/t5/New-SAS-User/Join/m-p/734711#M28633</link>
      <description>&lt;P&gt;I'm interested to have a table that cointains all variable (a,x,y,z...) in a specific dates range ( example from 01/01/2020 to 31/01/2020).&lt;/P&gt;&lt;P&gt;The problem is that&amp;nbsp; merging Tab 1 and Tab 2 I obtain also the variable like "a" (in my example) which have missing value for ALL days in 2020,&lt;/P&gt;&lt;P&gt;Does it possible delete a column without specify the name of Variable "a" but delete under&amp;nbsp; conditions?&lt;/P&gt;&lt;P&gt;I mean, if in tab3 there are variables that have "." for ALL days into 2020, which is the method to delete they?&lt;/P&gt;&lt;P&gt;Consider that my Tab3 is built by 250 variable, so specify conditon for each of them it is quite time expensive and furtheremore if the number of variable increase I should add it in my query.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thank you for your help&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 16 Apr 2021 12:17:42 GMT</pubDate>
      <guid>https://communities.sas.com/t5/New-SAS-User/Join/m-p/734711#M28633</guid>
      <dc:creator>Guess_</dc:creator>
      <dc:date>2021-04-16T12:17:42Z</dc:date>
    </item>
    <item>
      <title>Re: Join ?</title>
      <link>https://communities.sas.com/t5/New-SAS-User/Join/m-p/734712#M28634</link>
      <description>&lt;P&gt;I forgot, I don't have multiple values for the dates.&lt;/P&gt;&lt;P&gt;I have a column with 365 days and the corresponded observations for each variables.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 16 Apr 2021 12:19:28 GMT</pubDate>
      <guid>https://communities.sas.com/t5/New-SAS-User/Join/m-p/734712#M28634</guid>
      <dc:creator>Guess_</dc:creator>
      <dc:date>2021-04-16T12:19:28Z</dc:date>
    </item>
    <item>
      <title>Re: Join ?</title>
      <link>https://communities.sas.com/t5/New-SAS-User/Join/m-p/735542#M28677</link>
      <description>&lt;P&gt;You can check for all-missing variables like that:&lt;/P&gt;
&lt;PRE&gt;&lt;CODE class=" language-sas"&gt;data have;
input a b c;
datalines;
1 . .
3 . .
5 . .
;

proc summary data=have;
var _numeric_;
output out=max (drop=_type_ _freq_) max()=;
run;

proc transpose data=max out=vars (where=(col1 = .));
var _all_;
run;

proc sql noprint;
select _name_ into :dropvars separated by " "
from vars;
quit;

%put &amp;amp;=dropvars;&lt;/CODE&gt;&lt;/PRE&gt;
&lt;P&gt;and use the macro variable in a DROP statement or DROP= dataset option.&lt;/P&gt;</description>
      <pubDate>Tue, 20 Apr 2021 13:17:45 GMT</pubDate>
      <guid>https://communities.sas.com/t5/New-SAS-User/Join/m-p/735542#M28677</guid>
      <dc:creator>Kurt_Bremser</dc:creator>
      <dc:date>2021-04-20T13:17:45Z</dc:date>
    </item>
  </channel>
</rss>

