<?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 Macros in SAS Programming</title>
    <link>https://communities.sas.com/t5/SAS-Programming/Macros/m-p/518673#M140389</link>
    <description>&lt;P&gt;how can we pass different values of a variable to macro variable?&lt;/P&gt;</description>
    <pubDate>Wed, 05 Dec 2018 05:49:48 GMT</pubDate>
    <dc:creator>ravindra2</dc:creator>
    <dc:date>2018-12-05T05:49:48Z</dc:date>
    <item>
      <title>Macros</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Macros/m-p/518673#M140389</link>
      <description>&lt;P&gt;how can we pass different values of a variable to macro variable?&lt;/P&gt;</description>
      <pubDate>Wed, 05 Dec 2018 05:49:48 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Macros/m-p/518673#M140389</guid>
      <dc:creator>ravindra2</dc:creator>
      <dc:date>2018-12-05T05:49:48Z</dc:date>
    </item>
    <item>
      <title>Re: Macros</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Macros/m-p/518674#M140390</link>
      <description>&lt;P&gt;With proc sql like so:&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;PRE&gt;&lt;CODE class=" language-sas"&gt;Data A;
  Do n = "ASFE", "ISFE", "SFXE";
    Output;
  End;
Run;

Proc SQL NoPrint;
  Select n Into :n Separated By "," From A;
Quit; 
%Put **&amp;amp;n.***;
* **ASFE,ISFE,SFXE***;&lt;/CODE&gt;&lt;/PRE&gt;</description>
      <pubDate>Wed, 05 Dec 2018 06:04:28 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Macros/m-p/518674#M140390</guid>
      <dc:creator>user24feb</dc:creator>
      <dc:date>2018-12-05T06:04:28Z</dc:date>
    </item>
  </channel>
</rss>

