<?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 Intnx with same day in SAS Programming</title>
    <link>https://communities.sas.com/t5/SAS-Programming/Intnx-with-same-day/m-p/822510#M324803</link>
    <description>&lt;P&gt;Can someone of you help me understand what's wrong with this code? I could see missing values in 'dt' in the result.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;PRE&gt;data test;
dt=intnx("year",today(),-1,same);
format dt date9.;
run;&lt;/PRE&gt;</description>
    <pubDate>Mon, 11 Jul 2022 09:58:39 GMT</pubDate>
    <dc:creator>David_Billa</dc:creator>
    <dc:date>2022-07-11T09:58:39Z</dc:date>
    <item>
      <title>Intnx with same day</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Intnx-with-same-day/m-p/822510#M324803</link>
      <description>&lt;P&gt;Can someone of you help me understand what's wrong with this code? I could see missing values in 'dt' in the result.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;PRE&gt;data test;
dt=intnx("year",today(),-1,same);
format dt date9.;
run;&lt;/PRE&gt;</description>
      <pubDate>Mon, 11 Jul 2022 09:58:39 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Intnx-with-same-day/m-p/822510#M324803</guid>
      <dc:creator>David_Billa</dc:creator>
      <dc:date>2022-07-11T09:58:39Z</dc:date>
    </item>
    <item>
      <title>Re: Intnx with same day</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Intnx-with-same-day/m-p/822513#M324804</link>
      <description>&lt;P&gt;Is not the log clear in this case in identifying the error?&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;PRE&gt; 69         data test;
 70         dt=intnx("year",today(),-1,same);
 71         format dt date9.;
 72         run;
 
 NOTE: Numeric values have been converted to character values at the places given by: (Line):(Column).
       70:28   
 NOTE: Variable same is uninitialized.
 NOTE: Argument 4 to function INTNX('year',22837,-1,'           .') at line 70 column 4 is invalid.
 dt=. same=. _ERROR_=1 _N_=1&lt;/PRE&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;It says the variable SAME is uninitialized, you can't use it.&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Can you figure out what to change to make this work?&lt;/P&gt;</description>
      <pubDate>Mon, 11 Jul 2022 10:06:05 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Intnx-with-same-day/m-p/822513#M324804</guid>
      <dc:creator>PaigeMiller</dc:creator>
      <dc:date>2022-07-11T10:06:05Z</dc:date>
    </item>
    <item>
      <title>Re: Intnx with same day</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Intnx-with-same-day/m-p/822514#M324805</link>
      <description>No, it's not clear to me. 'same' is not the keyword here?&lt;BR /&gt;</description>
      <pubDate>Mon, 11 Jul 2022 10:09:39 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Intnx-with-same-day/m-p/822514#M324805</guid>
      <dc:creator>David_Billa</dc:creator>
      <dc:date>2022-07-11T10:09:39Z</dc:date>
    </item>
    <item>
      <title>Re: Intnx with same day</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Intnx-with-same-day/m-p/822516#M324806</link>
      <description>&lt;BLOCKQUOTE&gt;&lt;HR /&gt;&lt;a href="https://communities.sas.com/t5/user/viewprofilepage/user-id/292396"&gt;@David_Billa&lt;/a&gt;&amp;nbsp;wrote:&lt;BR /&gt;No, it's not clear to me. 'same' is not the keyword here?&lt;BR /&gt;&lt;HR /&gt;&lt;/BLOCKQUOTE&gt;
&lt;P&gt;Hint: you did not type code with &lt;FONT face="courier new,courier"&gt;'same'&lt;/FONT&gt;, you typed code with &lt;FONT face="courier new,courier"&gt;same&lt;/FONT&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 11 Jul 2022 11:44:47 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Intnx-with-same-day/m-p/822516#M324806</guid>
      <dc:creator>PaigeMiller</dc:creator>
      <dc:date>2022-07-11T11:44:47Z</dc:date>
    </item>
    <item>
      <title>Re: Intnx with same day</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Intnx-with-same-day/m-p/822546#M324821</link>
      <description>&lt;P&gt;Always keep in mind: anything that is not a number, a format (where appropriate) or enclosed in quotes is always interpreted as a variable name.&lt;/P&gt;</description>
      <pubDate>Mon, 11 Jul 2022 13:01:04 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Intnx-with-same-day/m-p/822546#M324821</guid>
      <dc:creator>Kurt_Bremser</dc:creator>
      <dc:date>2022-07-11T13:01:04Z</dc:date>
    </item>
  </channel>
</rss>

