<?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: macro help in SAS Enterprise Guide</title>
    <link>https://communities.sas.com/t5/SAS-Enterprise-Guide/macro-help/m-p/409828#M26262</link>
    <description>&lt;P&gt;You need another sysfunc.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;PRE&gt;&lt;CODE class=" language-sas"&gt;27         %let yymm = 1709;
28         %let example = %sysfunc(intnx(month,%sysfunc(inputn(&amp;amp;yymm.,yymmn4.)),0,e),date9);
29         %put example is &amp;amp;example.;
example is 30SEP2017&lt;/CODE&gt;&lt;/PRE&gt;</description>
    <pubDate>Thu, 02 Nov 2017 14:12:55 GMT</pubDate>
    <dc:creator>data_null__</dc:creator>
    <dc:date>2017-11-02T14:12:55Z</dc:date>
    <item>
      <title>macro help</title>
      <link>https://communities.sas.com/t5/SAS-Enterprise-Guide/macro-help/m-p/409824#M26261</link>
      <description>&lt;P&gt;What is wrong with this?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;This is what my output looks like rather than 30sep2017:&lt;/P&gt;&lt;P&gt;example is intnx('month',21063,0,'e')&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;FONT color="#0000ff" face="Courier New" size="3"&gt;%let&lt;/FONT&gt;&lt;FONT face="Courier New" size="3"&gt; yymm = 1709;&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&lt;FONT color="#0000ff" face="Courier New" size="3"&gt;%let&lt;/FONT&gt;&lt;FONT face="Courier New" size="3"&gt; example = intnx('month',&lt;/FONT&gt;&lt;FONT color="#0000ff" face="Courier New" size="3"&gt;%sysfunc&lt;/FONT&gt;&lt;FONT face="Courier New" size="3"&gt;(inputn(&amp;amp;yymm.,yymmn4.)),0,'e');&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&lt;FONT color="#0000ff" face="Courier New" size="3"&gt;%put&lt;/FONT&gt;&lt;FONT face="Courier New" size="3"&gt; example is &amp;amp;example.;&lt;/FONT&gt;&lt;/P&gt;</description>
      <pubDate>Thu, 02 Nov 2017 14:06:01 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Enterprise-Guide/macro-help/m-p/409824#M26261</guid>
      <dc:creator>rebeccas</dc:creator>
      <dc:date>2017-11-02T14:06:01Z</dc:date>
    </item>
    <item>
      <title>Re: macro help</title>
      <link>https://communities.sas.com/t5/SAS-Enterprise-Guide/macro-help/m-p/409828#M26262</link>
      <description>&lt;P&gt;You need another sysfunc.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;PRE&gt;&lt;CODE class=" language-sas"&gt;27         %let yymm = 1709;
28         %let example = %sysfunc(intnx(month,%sysfunc(inputn(&amp;amp;yymm.,yymmn4.)),0,e),date9);
29         %put example is &amp;amp;example.;
example is 30SEP2017&lt;/CODE&gt;&lt;/PRE&gt;</description>
      <pubDate>Thu, 02 Nov 2017 14:12:55 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Enterprise-Guide/macro-help/m-p/409828#M26262</guid>
      <dc:creator>data_null__</dc:creator>
      <dc:date>2017-11-02T14:12:55Z</dc:date>
    </item>
  </channel>
</rss>

