<?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: Posting date = today and value date in the future in New SAS User</title>
    <link>https://communities.sas.com/t5/New-SAS-User/Posting-date-today-and-value-date-in-the-future/m-p/630729#M20851</link>
    <description>&lt;BLOCKQUOTE&gt;&lt;HR /&gt;&lt;a href="https://communities.sas.com/t5/user/viewprofilepage/user-id/270266"&gt;@VALLY&lt;/a&gt;&amp;nbsp;wrote:&lt;BR /&gt;
&lt;P&gt;Good day Gurus,&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;please assist , am trying to get a Posting date = today and value date in the future&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;data view;&lt;BR /&gt;set work.view2&lt;BR /&gt;CPR_CREATE = intnx ('week',today(),-2;&lt;BR /&gt;TB_POSTDAT = today() -14;&lt;BR /&gt;;&lt;BR /&gt;run;&lt;/P&gt;
&lt;HR /&gt;&lt;/BLOCKQUOTE&gt;
&lt;P&gt;Your intnx function call is missing a closing ). and should be throwing syntax errors in the log.&lt;/P&gt;
&lt;P&gt;I don't see anything about the future in the above code. So Is the "value date in the future" variable supposed to be CPR_CREATE? Or something else? How far into the future? Currently it looks like you are looking for something 2 weeks in the past.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;If TB_POSTDAT is supposed to be your "posting date = today" then why do you subtract 14? Or again is that the desired variable.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Variablename = today();&lt;/P&gt;
&lt;P&gt;would create variable with the value of today.&lt;/P&gt;
&lt;P&gt;You likely should assign a format such as DATE9. or similar so human eyes have a clue what the value is instead of the 5 digit integer you will get. Today, being 9 March 2020 will have a value of 21983 as the default format will be BEST12.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;PRE&gt;data example;
   x=today();
   format x date9.;
run;&lt;/PRE&gt;</description>
    <pubDate>Mon, 09 Mar 2020 19:48:57 GMT</pubDate>
    <dc:creator>ballardw</dc:creator>
    <dc:date>2020-03-09T19:48:57Z</dc:date>
    <item>
      <title>Posting date = today and value date in the future</title>
      <link>https://communities.sas.com/t5/New-SAS-User/Posting-date-today-and-value-date-in-the-future/m-p/630472#M20818</link>
      <description>&lt;P&gt;Good day Gurus,&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;please assist , am trying to get a Posting date = today and value date in the future&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;data view;&lt;BR /&gt;set work.view2&lt;BR /&gt;CPR_CREATE = intnx ('week',today(),-2;&lt;BR /&gt;TB_POSTDAT = today() -14;&lt;BR /&gt;;&lt;BR /&gt;run;&lt;/P&gt;</description>
      <pubDate>Sun, 08 Mar 2020 10:47:56 GMT</pubDate>
      <guid>https://communities.sas.com/t5/New-SAS-User/Posting-date-today-and-value-date-in-the-future/m-p/630472#M20818</guid>
      <dc:creator>VALLY</dc:creator>
      <dc:date>2020-03-08T10:47:56Z</dc:date>
    </item>
    <item>
      <title>Re: Posting date = today and value date in the future</title>
      <link>https://communities.sas.com/t5/New-SAS-User/Posting-date-today-and-value-date-in-the-future/m-p/630473#M20819</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://communities.sas.com/t5/user/viewprofilepage/user-id/270266"&gt;@VALLY&lt;/a&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Could you please clarify what are the expected results?&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Sun, 08 Mar 2020 10:56:21 GMT</pubDate>
      <guid>https://communities.sas.com/t5/New-SAS-User/Posting-date-today-and-value-date-in-the-future/m-p/630473#M20819</guid>
      <dc:creator>ed_sas_member</dc:creator>
      <dc:date>2020-03-08T10:56:21Z</dc:date>
    </item>
    <item>
      <title>Re: Posting date = today and value date in the future</title>
      <link>https://communities.sas.com/t5/New-SAS-User/Posting-date-today-and-value-date-in-the-future/m-p/630729#M20851</link>
      <description>&lt;BLOCKQUOTE&gt;&lt;HR /&gt;&lt;a href="https://communities.sas.com/t5/user/viewprofilepage/user-id/270266"&gt;@VALLY&lt;/a&gt;&amp;nbsp;wrote:&lt;BR /&gt;
&lt;P&gt;Good day Gurus,&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;please assist , am trying to get a Posting date = today and value date in the future&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;data view;&lt;BR /&gt;set work.view2&lt;BR /&gt;CPR_CREATE = intnx ('week',today(),-2;&lt;BR /&gt;TB_POSTDAT = today() -14;&lt;BR /&gt;;&lt;BR /&gt;run;&lt;/P&gt;
&lt;HR /&gt;&lt;/BLOCKQUOTE&gt;
&lt;P&gt;Your intnx function call is missing a closing ). and should be throwing syntax errors in the log.&lt;/P&gt;
&lt;P&gt;I don't see anything about the future in the above code. So Is the "value date in the future" variable supposed to be CPR_CREATE? Or something else? How far into the future? Currently it looks like you are looking for something 2 weeks in the past.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;If TB_POSTDAT is supposed to be your "posting date = today" then why do you subtract 14? Or again is that the desired variable.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Variablename = today();&lt;/P&gt;
&lt;P&gt;would create variable with the value of today.&lt;/P&gt;
&lt;P&gt;You likely should assign a format such as DATE9. or similar so human eyes have a clue what the value is instead of the 5 digit integer you will get. Today, being 9 March 2020 will have a value of 21983 as the default format will be BEST12.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;PRE&gt;data example;
   x=today();
   format x date9.;
run;&lt;/PRE&gt;</description>
      <pubDate>Mon, 09 Mar 2020 19:48:57 GMT</pubDate>
      <guid>https://communities.sas.com/t5/New-SAS-User/Posting-date-today-and-value-date-in-the-future/m-p/630729#M20851</guid>
      <dc:creator>ballardw</dc:creator>
      <dc:date>2020-03-09T19:48:57Z</dc:date>
    </item>
  </channel>
</rss>

