<?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: how to avoid warning message in SAS Programming</title>
    <link>https://communities.sas.com/t5/SAS-Programming/how-to-avoid-warning-message/m-p/494089#M130140</link>
    <description>&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;SAS advise the following:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;A href="http://support.sas.com/kb/9/963.html" target="_blank"&gt;http://support.sas.com/kb/9/963.html&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;There are also a number of other suggestions contained in:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;A href="https://communities.sas.com/t5/SAS-Procedures/PROC-SQL-Warning-Variable-already-exists/td-p/70119" target="_blank"&gt;https://communities.sas.com/t5/SAS-Procedures/PROC-SQL-Warning-Variable-already-exists/td-p/70119&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;A href="https://communities.sas.com/t5/SAS-Procedures/proc-sql-join-with-same-variable-names/td-p/48781" target="_blank"&gt;https://communities.sas.com/t5/SAS-Procedures/proc-sql-join-with-same-variable-names/td-p/48781&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Amir.&lt;/P&gt;</description>
    <pubDate>Mon, 10 Sep 2018 11:45:51 GMT</pubDate>
    <dc:creator>Amir</dc:creator>
    <dc:date>2018-09-10T11:45:51Z</dc:date>
    <item>
      <title>how to avoid warning message</title>
      <link>https://communities.sas.com/t5/SAS-Programming/how-to-avoid-warning-message/m-p/494084#M130135</link>
      <description>&lt;P&gt;Data s1 ;&lt;BR /&gt;Input id age ;&lt;BR /&gt;Cards;&lt;BR /&gt;101 22&lt;BR /&gt;102 34&lt;BR /&gt;103 22&lt;BR /&gt;104 34&lt;BR /&gt;105 44&lt;BR /&gt;106 23&lt;BR /&gt;;&lt;/P&gt;&lt;P&gt;Data s2 ;&lt;BR /&gt;Input id sex $ ;&lt;BR /&gt;cards ;&lt;BR /&gt;101 M&lt;BR /&gt;102 F&lt;BR /&gt;103 M&lt;BR /&gt;105 M&lt;BR /&gt;106 F&lt;BR /&gt;107 M&lt;BR /&gt;;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Data s3 ;&lt;BR /&gt;Input id country $15. ;&lt;BR /&gt;cards ;&lt;BR /&gt;101 INDIA&lt;BR /&gt;102 USA&lt;BR /&gt;103 ENGLAND&lt;BR /&gt;104 INDIA&lt;BR /&gt;107 FRANCE&lt;BR /&gt;108 USA&lt;BR /&gt;;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;proc sql ;&lt;BR /&gt;create table ex1 as&lt;BR /&gt;select * from s1,s2,s3 where s1.id=s2.id=s3.id;&lt;BR /&gt;quit;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;if i run above program it gives matching data with warnings so how to avoid that warning&lt;/P&gt;</description>
      <pubDate>Mon, 10 Sep 2018 11:18:18 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/how-to-avoid-warning-message/m-p/494084#M130135</guid>
      <dc:creator>thanikondharish</dc:creator>
      <dc:date>2018-09-10T11:18:18Z</dc:date>
    </item>
    <item>
      <title>Re: how to avoid warning message</title>
      <link>https://communities.sas.com/t5/SAS-Programming/how-to-avoid-warning-message/m-p/494089#M130140</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;SAS advise the following:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;A href="http://support.sas.com/kb/9/963.html" target="_blank"&gt;http://support.sas.com/kb/9/963.html&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;There are also a number of other suggestions contained in:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;A href="https://communities.sas.com/t5/SAS-Procedures/PROC-SQL-Warning-Variable-already-exists/td-p/70119" target="_blank"&gt;https://communities.sas.com/t5/SAS-Procedures/PROC-SQL-Warning-Variable-already-exists/td-p/70119&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;A href="https://communities.sas.com/t5/SAS-Procedures/proc-sql-join-with-same-variable-names/td-p/48781" target="_blank"&gt;https://communities.sas.com/t5/SAS-Procedures/proc-sql-join-with-same-variable-names/td-p/48781&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Amir.&lt;/P&gt;</description>
      <pubDate>Mon, 10 Sep 2018 11:45:51 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/how-to-avoid-warning-message/m-p/494089#M130140</guid>
      <dc:creator>Amir</dc:creator>
      <dc:date>2018-09-10T11:45:51Z</dc:date>
    </item>
    <item>
      <title>Re: how to avoid warning message</title>
      <link>https://communities.sas.com/t5/SAS-Programming/how-to-avoid-warning-message/m-p/494091#M130142</link>
      <description>&lt;P&gt;In a select clause you put the variables you want to keep on the output dataset.&amp;nbsp; Using * is the equivalent of saying take everything from all contributing datasets, which means id from each datasets - which is why you get the warning.&amp;nbsp; Avoid using * and code to select the data you actually want:&lt;/P&gt;
&lt;PRE&gt;proc sql ;
  create table ex1 as
  select s1.id,
         s1.age,
         s2.sex,
         s3.country 
  from   s1,
         s2,
         s3 
  where  s1.id=s2.id=s3.id;
quit;&lt;/PRE&gt;</description>
      <pubDate>Mon, 10 Sep 2018 11:49:47 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/how-to-avoid-warning-message/m-p/494091#M130142</guid>
      <dc:creator>RW9</dc:creator>
      <dc:date>2018-09-10T11:49:47Z</dc:date>
    </item>
    <item>
      <title>Re: how to avoid warning message</title>
      <link>https://communities.sas.com/t5/SAS-Programming/how-to-avoid-warning-message/m-p/494157#M130176</link>
      <description>&lt;P&gt;I think we have referred to &lt;STRONG&gt;posting logs of results&lt;/STRONG&gt; often enough that you should have posted to actual log with the warning instead of making us guess which warning you might be referring to.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;And the warning involving the variable coming from both sets should tell you pretty clearly not to include variable(s) from both sets if you do not want the warning to appear.&lt;/P&gt;</description>
      <pubDate>Mon, 10 Sep 2018 15:17:32 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/how-to-avoid-warning-message/m-p/494157#M130176</guid>
      <dc:creator>ballardw</dc:creator>
      <dc:date>2018-09-10T15:17:32Z</dc:date>
    </item>
  </channel>
</rss>

