<?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: intnx in SAS Programming</title>
    <link>https://communities.sas.com/t5/SAS-Programming/intnx/m-p/406309#M98911</link>
    <description>&lt;BLOCKQUOTE&gt;&lt;HR /&gt;&lt;a href="https://communities.sas.com/t5/user/viewprofilepage/user-id/172699"&gt;@mehak&lt;/a&gt; wrote:&lt;BR /&gt;
&lt;P&gt;Can any1 please help me . I have to calculate field of coupon issuance date .expiry date of coupon is 3 months . But in my data sets i am only having expiry date . Is this the correct way to solve such que&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;data _class_1;&lt;/P&gt;
&lt;P&gt;coupon_issuance_date=intnx('02',20,-3,'b');&lt;BR /&gt;&lt;BR /&gt;proc print data = _class_1 noobs;&lt;BR /&gt;run;&lt;/P&gt;
&lt;HR /&gt;&lt;/BLOCKQUOTE&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;No. Review how the INTNX() documentation, there are examples at the bottom of the page.&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;A href="http://documentation.sas.com/?docsetId=lefunctionsref&amp;amp;docsetTarget=p10v3sa3i4kfxfn1sovhi5xzxh8n.htm&amp;amp;docsetVersion=9.4&amp;amp;locale=en" target="_blank"&gt;http://documentation.sas.com/?docsetId=lefunctionsref&amp;amp;docsetTarget=p10v3sa3i4kfxfn1sovhi5xzxh8n.htm&amp;amp;docsetVersion=9.4&amp;amp;locale=en&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Specifically:&lt;/P&gt;
&lt;P&gt;&lt;SPAN class="xis-keyword"&gt;INTNX&lt;/SPAN&gt;&lt;SPAN&gt;(&lt;/SPAN&gt;&lt;SPAN class="xis-userSuppliedSyntaxValue"&gt;&lt;A class="ng-scope" tabindex="0" title="Description of syntax: interval" href="http://documentation.sas.com/?docsetId=lefunctionsref&amp;amp;docsetTarget=p10v3sa3i4kfxfn1sovhi5xzxh8n.htm&amp;amp;docsetVersion=9.4&amp;amp;locale=en#p05mtdxbgua535n1rfbkiwqb4asq" rel="nofollow" data-docset-id="lefunctionsref" data-docset-version="9.4" data-original-href="p10v3sa3i4kfxfn1sovhi5xzxh8n.htm#p05mtdxbgua535n1rfbkiwqb4asq"&gt;interval&lt;/A&gt;&lt;/SPAN&gt; &lt;SPAN class="xis-argOptional"&gt;&amp;lt;&lt;SPAN class="xis-userSuppliedSyntaxValue"&gt;&lt;A class="ng-scope" tabindex="0" title="Description of syntax: multiple" href="http://documentation.sas.com/?docsetId=lefunctionsref&amp;amp;docsetTarget=p10v3sa3i4kfxfn1sovhi5xzxh8n.htm&amp;amp;docsetVersion=9.4&amp;amp;locale=en#n0neaaz0693gxgn1elx5t187qp2j" rel="nofollow" data-docset-id="lefunctionsref" data-docset-version="9.4" data-original-href="p10v3sa3i4kfxfn1sovhi5xzxh8n.htm#n0neaaz0693gxgn1elx5t187qp2j"&gt;multiple&lt;/A&gt;&lt;/SPAN&gt;&amp;gt;&lt;/SPAN&gt;&lt;SPAN class="xis-argOptional"&gt;&amp;lt;&lt;SPAN class="xis-userSuppliedSyntaxValue"&gt;&lt;A class="ng-scope" tabindex="0" title="Description of syntax: shift-index" href="http://documentation.sas.com/?docsetId=lefunctionsref&amp;amp;docsetTarget=p10v3sa3i4kfxfn1sovhi5xzxh8n.htm&amp;amp;docsetVersion=9.4&amp;amp;locale=en#p0h7vr6sc5337dn138qe3o5kl8bj" rel="nofollow" data-docset-id="lefunctionsref" data-docset-version="9.4" data-original-href="p10v3sa3i4kfxfn1sovhi5xzxh8n.htm#p0h7vr6sc5337dn138qe3o5kl8bj"&gt;.shift-index&lt;/A&gt;&lt;/SPAN&gt;&amp;gt;&lt;/SPAN&gt;&lt;SPAN&gt;,&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN class="xis-userSuppliedSyntaxValue"&gt;&lt;A class="ng-scope" tabindex="0" title="Description of syntax: start-from" href="http://documentation.sas.com/?docsetId=lefunctionsref&amp;amp;docsetTarget=p10v3sa3i4kfxfn1sovhi5xzxh8n.htm&amp;amp;docsetVersion=9.4&amp;amp;locale=en#n1k78asrox6uykn18egkehlrrdzh" rel="nofollow" data-docset-id="lefunctionsref" data-docset-version="9.4" data-original-href="p10v3sa3i4kfxfn1sovhi5xzxh8n.htm#n1k78asrox6uykn18egkehlrrdzh"&gt;start-from&lt;/A&gt;&lt;/SPAN&gt;&lt;SPAN&gt;, &lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN class="xis-userSuppliedSyntaxValue"&gt;&lt;A class="ng-scope" tabindex="0" title="Description of syntax: increment" href="http://documentation.sas.com/?docsetId=lefunctionsref&amp;amp;docsetTarget=p10v3sa3i4kfxfn1sovhi5xzxh8n.htm&amp;amp;docsetVersion=9.4&amp;amp;locale=en#n1vukox0jawaken1o35k9w74ngae" rel="nofollow" data-docset-id="lefunctionsref" data-docset-version="9.4" data-original-href="p10v3sa3i4kfxfn1sovhi5xzxh8n.htm#n1vukox0jawaken1o35k9w74ngae"&gt;increment&lt;/A&gt;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN class="xis-argOptional"&gt;&amp;lt;, '&lt;SPAN class="xis-userSuppliedSyntaxValue"&gt;&lt;A class="ng-scope" tabindex="0" title="Description of syntax: 'alignment'" href="http://documentation.sas.com/?docsetId=lefunctionsref&amp;amp;docsetTarget=p10v3sa3i4kfxfn1sovhi5xzxh8n.htm&amp;amp;docsetVersion=9.4&amp;amp;locale=en#p11jca64z7ugarn1f65kiq9r3pip" rel="nofollow" data-docset-id="lefunctionsref" data-docset-version="9.4" data-original-href="p10v3sa3i4kfxfn1sovhi5xzxh8n.htm#p11jca64z7ugarn1f65kiq9r3pip"&gt;alignment&lt;/A&gt;&lt;/SPAN&gt;'&amp;gt;&lt;/SPAN&gt;&lt;SPAN&gt;)&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;Compare the parameters above to yours.&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;The&amp;nbsp;examples are towards the bottom of the page.&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;</description>
    <pubDate>Sat, 21 Oct 2017 20:45:17 GMT</pubDate>
    <dc:creator>Reeza</dc:creator>
    <dc:date>2017-10-21T20:45:17Z</dc:date>
    <item>
      <title>intnx</title>
      <link>https://communities.sas.com/t5/SAS-Programming/intnx/m-p/406289#M98898</link>
      <description>&lt;P&gt;Can any1 please help me . I have to calculate field of coupon issuance date .expiry date of coupon is 3 months . But in my data sets i am only having expiry date . Is this the correct way to solve such que&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;data _class_1;&lt;/P&gt;&lt;P&gt;coupon_issuance_date=intnx('02',20,-3,'b');&lt;BR /&gt;&lt;BR /&gt;proc print data = _class_1 noobs;&lt;BR /&gt;run;&lt;/P&gt;</description>
      <pubDate>Sat, 21 Oct 2017 18:55:47 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/intnx/m-p/406289#M98898</guid>
      <dc:creator>mehak</dc:creator>
      <dc:date>2017-10-21T18:55:47Z</dc:date>
    </item>
    <item>
      <title>Re: intnx</title>
      <link>https://communities.sas.com/t5/SAS-Programming/intnx/m-p/406293#M98901</link>
      <description>&lt;P&gt;Run your code and read the log.&lt;/P&gt;</description>
      <pubDate>Sat, 21 Oct 2017 19:15:30 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/intnx/m-p/406293#M98901</guid>
      <dc:creator>Kurt_Bremser</dc:creator>
      <dc:date>2017-10-21T19:15:30Z</dc:date>
    </item>
    <item>
      <title>Re: intnx</title>
      <link>https://communities.sas.com/t5/SAS-Programming/intnx/m-p/406297#M98903</link>
      <description>&lt;P&gt;already done it sir .&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;DIV class="sasSource"&gt;1 OPTIONS NONOTES NOSTIMER NOSOURCE NOSYNTAXCHECK;&lt;/DIV&gt;&lt;DIV class="sasSource"&gt;61&lt;/DIV&gt;&lt;DIV class="sasSource"&gt;62 data _class_1;&lt;/DIV&gt;&lt;DIV class="sasSource"&gt;63&lt;/DIV&gt;&lt;DIV class="sasSource"&gt;64 coupon_issuance_date=intnx('02',20,-3,'b');&lt;/DIV&gt;&lt;DIV class="sasSource"&gt;65&lt;/DIV&gt;&lt;DIV class="sasNote"&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV class="sasNote"&gt;NOTE: The data set WORK._CLASS_1 has 1 observations and 1 variables.&lt;/DIV&gt;&lt;DIV class="sasNote"&gt;NOTE: DATA statement used (Total process time):&lt;/DIV&gt;&lt;DIV class="sasNote"&gt;real time 0.00 seconds&lt;/DIV&gt;&lt;DIV class="sasNote"&gt;cpu time 0.01 seconds&lt;/DIV&gt;&lt;DIV class="sasNote"&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV class="sasSource"&gt;66 proc print data = _class_1 noobs;&lt;/DIV&gt;&lt;DIV class="sasNote"&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV class="sasSource"&gt;67 run;&lt;/DIV&gt;&lt;DIV class="sasNote"&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV class="sasNote"&gt;NOTE: There were 1 observations read from the data set WORK._CLASS_1.&lt;/DIV&gt;&lt;DIV class="sasNote"&gt;NOTE: PROCEDURE PRINT used (Total process time):&lt;/DIV&gt;&lt;DIV class="sasNote"&gt;real time 0.03 seconds&lt;/DIV&gt;&lt;DIV class="sasNote"&gt;cpu time 0.03 seconds&lt;/DIV&gt;&lt;DIV class="sasNote"&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV class="sasNote"&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV class="sasSource"&gt;68&lt;/DIV&gt;&lt;DIV class="sasSource"&gt;69 OPTIONS NONOTES NOSTIMER NOSOURCE NOSYNTAXCHECK;&lt;/DIV&gt;&lt;DIV class="sasSource"&gt;82&lt;/DIV&gt;</description>
      <pubDate>Sat, 21 Oct 2017 19:22:34 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/intnx/m-p/406297#M98903</guid>
      <dc:creator>mehak</dc:creator>
      <dc:date>2017-10-21T19:22:34Z</dc:date>
    </item>
    <item>
      <title>Re: intnx</title>
      <link>https://communities.sas.com/t5/SAS-Programming/intnx/m-p/406299#M98904</link>
      <description>&lt;P&gt;And did you get the result you expected?&lt;/P&gt;</description>
      <pubDate>Sat, 21 Oct 2017 19:38:30 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/intnx/m-p/406299#M98904</guid>
      <dc:creator>Kurt_Bremser</dc:creator>
      <dc:date>2017-10-21T19:38:30Z</dc:date>
    </item>
    <item>
      <title>Re: intnx</title>
      <link>https://communities.sas.com/t5/SAS-Programming/intnx/m-p/406309#M98911</link>
      <description>&lt;BLOCKQUOTE&gt;&lt;HR /&gt;&lt;a href="https://communities.sas.com/t5/user/viewprofilepage/user-id/172699"&gt;@mehak&lt;/a&gt; wrote:&lt;BR /&gt;
&lt;P&gt;Can any1 please help me . I have to calculate field of coupon issuance date .expiry date of coupon is 3 months . But in my data sets i am only having expiry date . Is this the correct way to solve such que&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;data _class_1;&lt;/P&gt;
&lt;P&gt;coupon_issuance_date=intnx('02',20,-3,'b');&lt;BR /&gt;&lt;BR /&gt;proc print data = _class_1 noobs;&lt;BR /&gt;run;&lt;/P&gt;
&lt;HR /&gt;&lt;/BLOCKQUOTE&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;No. Review how the INTNX() documentation, there are examples at the bottom of the page.&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;A href="http://documentation.sas.com/?docsetId=lefunctionsref&amp;amp;docsetTarget=p10v3sa3i4kfxfn1sovhi5xzxh8n.htm&amp;amp;docsetVersion=9.4&amp;amp;locale=en" target="_blank"&gt;http://documentation.sas.com/?docsetId=lefunctionsref&amp;amp;docsetTarget=p10v3sa3i4kfxfn1sovhi5xzxh8n.htm&amp;amp;docsetVersion=9.4&amp;amp;locale=en&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Specifically:&lt;/P&gt;
&lt;P&gt;&lt;SPAN class="xis-keyword"&gt;INTNX&lt;/SPAN&gt;&lt;SPAN&gt;(&lt;/SPAN&gt;&lt;SPAN class="xis-userSuppliedSyntaxValue"&gt;&lt;A class="ng-scope" tabindex="0" title="Description of syntax: interval" href="http://documentation.sas.com/?docsetId=lefunctionsref&amp;amp;docsetTarget=p10v3sa3i4kfxfn1sovhi5xzxh8n.htm&amp;amp;docsetVersion=9.4&amp;amp;locale=en#p05mtdxbgua535n1rfbkiwqb4asq" rel="nofollow" data-docset-id="lefunctionsref" data-docset-version="9.4" data-original-href="p10v3sa3i4kfxfn1sovhi5xzxh8n.htm#p05mtdxbgua535n1rfbkiwqb4asq"&gt;interval&lt;/A&gt;&lt;/SPAN&gt; &lt;SPAN class="xis-argOptional"&gt;&amp;lt;&lt;SPAN class="xis-userSuppliedSyntaxValue"&gt;&lt;A class="ng-scope" tabindex="0" title="Description of syntax: multiple" href="http://documentation.sas.com/?docsetId=lefunctionsref&amp;amp;docsetTarget=p10v3sa3i4kfxfn1sovhi5xzxh8n.htm&amp;amp;docsetVersion=9.4&amp;amp;locale=en#n0neaaz0693gxgn1elx5t187qp2j" rel="nofollow" data-docset-id="lefunctionsref" data-docset-version="9.4" data-original-href="p10v3sa3i4kfxfn1sovhi5xzxh8n.htm#n0neaaz0693gxgn1elx5t187qp2j"&gt;multiple&lt;/A&gt;&lt;/SPAN&gt;&amp;gt;&lt;/SPAN&gt;&lt;SPAN class="xis-argOptional"&gt;&amp;lt;&lt;SPAN class="xis-userSuppliedSyntaxValue"&gt;&lt;A class="ng-scope" tabindex="0" title="Description of syntax: shift-index" href="http://documentation.sas.com/?docsetId=lefunctionsref&amp;amp;docsetTarget=p10v3sa3i4kfxfn1sovhi5xzxh8n.htm&amp;amp;docsetVersion=9.4&amp;amp;locale=en#p0h7vr6sc5337dn138qe3o5kl8bj" rel="nofollow" data-docset-id="lefunctionsref" data-docset-version="9.4" data-original-href="p10v3sa3i4kfxfn1sovhi5xzxh8n.htm#p0h7vr6sc5337dn138qe3o5kl8bj"&gt;.shift-index&lt;/A&gt;&lt;/SPAN&gt;&amp;gt;&lt;/SPAN&gt;&lt;SPAN&gt;,&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN class="xis-userSuppliedSyntaxValue"&gt;&lt;A class="ng-scope" tabindex="0" title="Description of syntax: start-from" href="http://documentation.sas.com/?docsetId=lefunctionsref&amp;amp;docsetTarget=p10v3sa3i4kfxfn1sovhi5xzxh8n.htm&amp;amp;docsetVersion=9.4&amp;amp;locale=en#n1k78asrox6uykn18egkehlrrdzh" rel="nofollow" data-docset-id="lefunctionsref" data-docset-version="9.4" data-original-href="p10v3sa3i4kfxfn1sovhi5xzxh8n.htm#n1k78asrox6uykn18egkehlrrdzh"&gt;start-from&lt;/A&gt;&lt;/SPAN&gt;&lt;SPAN&gt;, &lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN class="xis-userSuppliedSyntaxValue"&gt;&lt;A class="ng-scope" tabindex="0" title="Description of syntax: increment" href="http://documentation.sas.com/?docsetId=lefunctionsref&amp;amp;docsetTarget=p10v3sa3i4kfxfn1sovhi5xzxh8n.htm&amp;amp;docsetVersion=9.4&amp;amp;locale=en#n1vukox0jawaken1o35k9w74ngae" rel="nofollow" data-docset-id="lefunctionsref" data-docset-version="9.4" data-original-href="p10v3sa3i4kfxfn1sovhi5xzxh8n.htm#n1vukox0jawaken1o35k9w74ngae"&gt;increment&lt;/A&gt;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN class="xis-argOptional"&gt;&amp;lt;, '&lt;SPAN class="xis-userSuppliedSyntaxValue"&gt;&lt;A class="ng-scope" tabindex="0" title="Description of syntax: 'alignment'" href="http://documentation.sas.com/?docsetId=lefunctionsref&amp;amp;docsetTarget=p10v3sa3i4kfxfn1sovhi5xzxh8n.htm&amp;amp;docsetVersion=9.4&amp;amp;locale=en#p11jca64z7ugarn1f65kiq9r3pip" rel="nofollow" data-docset-id="lefunctionsref" data-docset-version="9.4" data-original-href="p10v3sa3i4kfxfn1sovhi5xzxh8n.htm#p11jca64z7ugarn1f65kiq9r3pip"&gt;alignment&lt;/A&gt;&lt;/SPAN&gt;'&amp;gt;&lt;/SPAN&gt;&lt;SPAN&gt;)&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;Compare the parameters above to yours.&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;The&amp;nbsp;examples are towards the bottom of the page.&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Sat, 21 Oct 2017 20:45:17 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/intnx/m-p/406309#M98911</guid>
      <dc:creator>Reeza</dc:creator>
      <dc:date>2017-10-21T20:45:17Z</dc:date>
    </item>
  </channel>
</rss>

