<?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 parameter in SAS Programming</title>
    <link>https://communities.sas.com/t5/SAS-Programming/macro-parameter/m-p/560734#M156879</link>
    <description>&lt;P&gt;call symput() or call symputx().&lt;/P&gt;</description>
    <pubDate>Wed, 22 May 2019 08:18:49 GMT</pubDate>
    <dc:creator>Kurt_Bremser</dc:creator>
    <dc:date>2019-05-22T08:18:49Z</dc:date>
    <item>
      <title>macro parameter</title>
      <link>https://communities.sas.com/t5/SAS-Programming/macro-parameter/m-p/560733#M156878</link>
      <description>&lt;P&gt;Hello&lt;/P&gt;
&lt;P&gt;I want that value in second column will be macro parameter name and value of first column will be the value of the macro parameter.&lt;/P&gt;
&lt;P&gt;So:&lt;/P&gt;
&lt;P&gt;parameter Mon1 will get value 1901&lt;/P&gt;
&lt;P&gt;parameter Mon2 will get value 1904&lt;/P&gt;
&lt;P&gt;parameter Mon3 will get value 1907&lt;/P&gt;
&lt;P&gt;parameter Mon4 will get value 1908&lt;/P&gt;
&lt;P&gt;What is the way to do it?&lt;/P&gt;
&lt;PRE&gt;&lt;CODE class=" language-sas"&gt;Data aaa;
input YYMM mon $;
CARDS;
1901 Mon1
1904 Mon2
1907 Mon3
1908 Mon4
;
Run;&lt;/CODE&gt;&lt;/PRE&gt;</description>
      <pubDate>Wed, 22 May 2019 08:07:13 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/macro-parameter/m-p/560733#M156878</guid>
      <dc:creator>Ronein</dc:creator>
      <dc:date>2019-05-22T08:07:13Z</dc:date>
    </item>
    <item>
      <title>Re: macro parameter</title>
      <link>https://communities.sas.com/t5/SAS-Programming/macro-parameter/m-p/560734#M156879</link>
      <description>&lt;P&gt;call symput() or call symputx().&lt;/P&gt;</description>
      <pubDate>Wed, 22 May 2019 08:18:49 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/macro-parameter/m-p/560734#M156879</guid>
      <dc:creator>Kurt_Bremser</dc:creator>
      <dc:date>2019-05-22T08:18:49Z</dc:date>
    </item>
    <item>
      <title>Re: macro parameter</title>
      <link>https://communities.sas.com/t5/SAS-Programming/macro-parameter/m-p/560735#M156880</link>
      <description>&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;PRE&gt;&lt;CODE class=" language-sas"&gt;Data aaa;
input YYMM mon $;
CARDS;
1901 Mon1
1904 Mon2
1907 Mon3
1908 Mon4
;
Run;

data _null_;
set aaa;
call symput(mon,YYMM);
run;
%put &amp;amp;Mon1 ;
%put &amp;amp;Mon2 ;
%put &amp;amp;Mon3 ;
%put &amp;amp;Mon4 ;&lt;/CODE&gt;&lt;/PRE&gt;</description>
      <pubDate>Wed, 22 May 2019 08:21:01 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/macro-parameter/m-p/560735#M156880</guid>
      <dc:creator>Ronein</dc:creator>
      <dc:date>2019-05-22T08:21:01Z</dc:date>
    </item>
  </channel>
</rss>

