<?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: my result contain extra column such as orderdate in SAS Programming</title>
    <link>https://communities.sas.com/t5/SAS-Programming/my-result-contain-extra-column-such-as-orderdate/m-p/290345#M60070</link>
    <description>&lt;P&gt;If you are getting an extra column, it means that ORDERDATE is the wrong spelling for your existing variable. &amp;nbsp;Find the proper spelling and try again (following Reeza's advice to add the "d" to the date literal).&lt;/P&gt;</description>
    <pubDate>Mon, 08 Aug 2016 22:36:13 GMT</pubDate>
    <dc:creator>Astounding</dc:creator>
    <dc:date>2016-08-08T22:36:13Z</dc:date>
    <item>
      <title>my result contain extra column such as orderdate</title>
      <link>https://communities.sas.com/t5/SAS-Programming/my-result-contain-extra-column-such-as-orderdate/m-p/290327#M60053</link>
      <description>&lt;P&gt;data wombat.orderdata;&lt;BR /&gt;set wombat.orders;&lt;BR /&gt;if orderdate &amp;gt; '05JUN2003'&lt;BR /&gt;then bonous = 10;&lt;BR /&gt;run;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;my result contain extra column such as orderdate and also bonous showing as .&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 08 Aug 2016 21:11:16 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/my-result-contain-extra-column-such-as-orderdate/m-p/290327#M60053</guid>
      <dc:creator>arun1234</dc:creator>
      <dc:date>2016-08-08T21:11:16Z</dc:date>
    </item>
    <item>
      <title>Re: my result contain extra column such as orderdate</title>
      <link>https://communities.sas.com/t5/SAS-Programming/my-result-contain-extra-column-such-as-orderdate/m-p/290341#M60067</link>
      <description>&lt;P&gt;&lt;SPAN&gt;data wombat.orderdata;&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;set wombat.orders;&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;if orderdate &amp;gt; '05JUN2003' &amp;nbsp;&lt;STRONG&gt;&lt;FONT color="#008000"&gt;&amp;lt;- You need to refer to a date literal with a d after the quotation mark '05Jun2003'd&lt;/FONT&gt;&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;then bonous = 10; &lt;FONT color="#008000"&gt;&lt;STRONG&gt;&amp;lt;- If orderdate is less than or equal to&amp;nbsp;date what do you want to happen with bonous variable?&lt;/STRONG&gt;&lt;/FONT&gt;&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;run;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;BLOCKQUOTE&gt;&lt;HR /&gt;&lt;a href="https://communities.sas.com/t5/user/viewprofilepage/user-id/96361"&gt;@arun1234&lt;/a&gt; wrote:&lt;BR /&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;my result contain extra column such as orderdate and also bonous showing as .&amp;nbsp;&lt;/P&gt;
&lt;HR /&gt;&lt;/BLOCKQUOTE&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;I bet your log has the answer. Read it.&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;bonous is a variable you're trying to create, the condition is never true and you have no alternative value so it's set to missing.&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Mon, 08 Aug 2016 21:39:43 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/my-result-contain-extra-column-such-as-orderdate/m-p/290341#M60067</guid>
      <dc:creator>Reeza</dc:creator>
      <dc:date>2016-08-08T21:39:43Z</dc:date>
    </item>
    <item>
      <title>Re: my result contain extra column such as orderdate</title>
      <link>https://communities.sas.com/t5/SAS-Programming/my-result-contain-extra-column-such-as-orderdate/m-p/290345#M60070</link>
      <description>&lt;P&gt;If you are getting an extra column, it means that ORDERDATE is the wrong spelling for your existing variable. &amp;nbsp;Find the proper spelling and try again (following Reeza's advice to add the "d" to the date literal).&lt;/P&gt;</description>
      <pubDate>Mon, 08 Aug 2016 22:36:13 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/my-result-contain-extra-column-such-as-orderdate/m-p/290345#M60070</guid>
      <dc:creator>Astounding</dc:creator>
      <dc:date>2016-08-08T22:36:13Z</dc:date>
    </item>
  </channel>
</rss>

