<?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: How to pass account numbers through SAS Macro in New SAS User</title>
    <link>https://communities.sas.com/t5/New-SAS-User/How-to-pass-account-numbers-through-SAS-Macro/m-p/606660#M17424</link>
    <description>&lt;P&gt;Thanks for your reply but you did not understand my question. I want to create macro and want to pass all the accounts through macro. And i know proc sql query.&lt;/P&gt;</description>
    <pubDate>Sat, 23 Nov 2019 04:56:19 GMT</pubDate>
    <dc:creator>Ajitesh</dc:creator>
    <dc:date>2019-11-23T04:56:19Z</dc:date>
    <item>
      <title>How to pass account numbers through SAS Macro</title>
      <link>https://communities.sas.com/t5/New-SAS-User/How-to-pass-account-numbers-through-SAS-Macro/m-p/606544#M17418</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I have 10000 account numbers and i just want to pass all the account numbers one by one through SAS Macro.&amp;nbsp; I am using this query-&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;proc sql;&lt;/P&gt;&lt;P&gt;create table abc&lt;/P&gt;&lt;P&gt;select * from xyz where account in (want to pass accounts through SAS Macro);&lt;/P&gt;&lt;P&gt;quit;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 22 Nov 2019 18:54:50 GMT</pubDate>
      <guid>https://communities.sas.com/t5/New-SAS-User/How-to-pass-account-numbers-through-SAS-Macro/m-p/606544#M17418</guid>
      <dc:creator>Ajitesh</dc:creator>
      <dc:date>2019-11-22T18:54:50Z</dc:date>
    </item>
    <item>
      <title>Re: How to pass account numbers through SAS Macro</title>
      <link>https://communities.sas.com/t5/New-SAS-User/How-to-pass-account-numbers-through-SAS-Macro/m-p/606554#M17419</link>
      <description>&lt;P&gt;Assuming the account numbers are in a SAS data set which I will name HAVE, and the variable is named ACCOUNTID&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;PRE&gt;&lt;CODE class=" language-sas"&gt;proc sql;
create table abc
select * from xyz where account in (select distinct accountid from have);
quit;&lt;/CODE&gt;&lt;/PRE&gt;
&lt;P&gt;No macro needed.&lt;/P&gt;</description>
      <pubDate>Fri, 22 Nov 2019 19:38:24 GMT</pubDate>
      <guid>https://communities.sas.com/t5/New-SAS-User/How-to-pass-account-numbers-through-SAS-Macro/m-p/606554#M17419</guid>
      <dc:creator>PaigeMiller</dc:creator>
      <dc:date>2019-11-22T19:38:24Z</dc:date>
    </item>
    <item>
      <title>Re: How to pass account numbers through SAS Macro</title>
      <link>https://communities.sas.com/t5/New-SAS-User/How-to-pass-account-numbers-through-SAS-Macro/m-p/606660#M17424</link>
      <description>&lt;P&gt;Thanks for your reply but you did not understand my question. I want to create macro and want to pass all the accounts through macro. And i know proc sql query.&lt;/P&gt;</description>
      <pubDate>Sat, 23 Nov 2019 04:56:19 GMT</pubDate>
      <guid>https://communities.sas.com/t5/New-SAS-User/How-to-pass-account-numbers-through-SAS-Macro/m-p/606660#M17424</guid>
      <dc:creator>Ajitesh</dc:creator>
      <dc:date>2019-11-23T04:56:19Z</dc:date>
    </item>
    <item>
      <title>Re: How to pass account numbers through SAS Macro</title>
      <link>https://communities.sas.com/t5/New-SAS-User/How-to-pass-account-numbers-through-SAS-Macro/m-p/606674#M17425</link>
      <description>&lt;P&gt;So please provide a little more information ... what is this macro supposed to do? Can you show, as an example, non-macro code that works for one account number?&lt;/P&gt;</description>
      <pubDate>Sat, 23 Nov 2019 11:58:43 GMT</pubDate>
      <guid>https://communities.sas.com/t5/New-SAS-User/How-to-pass-account-numbers-through-SAS-Macro/m-p/606674#M17425</guid>
      <dc:creator>PaigeMiller</dc:creator>
      <dc:date>2019-11-23T11:58:43Z</dc:date>
    </item>
    <item>
      <title>Re: How to pass account numbers through SAS Macro</title>
      <link>https://communities.sas.com/t5/New-SAS-User/How-to-pass-account-numbers-through-SAS-Macro/m-p/606694#M17427</link>
      <description>&lt;P&gt;This sounds like an XY problem.&amp;nbsp;&lt;A href="http://xyproblem.info/" target="_blank"&gt;http://xyproblem.info/&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Please explain what you are trying to do (the larger picture). Explain in more detail what do you want this macro to do? How does being able to do that help with the larger problem?&lt;/P&gt;</description>
      <pubDate>Sat, 23 Nov 2019 17:53:06 GMT</pubDate>
      <guid>https://communities.sas.com/t5/New-SAS-User/How-to-pass-account-numbers-through-SAS-Macro/m-p/606694#M17427</guid>
      <dc:creator>Tom</dc:creator>
      <dc:date>2019-11-23T17:53:06Z</dc:date>
    </item>
  </channel>
</rss>

