<?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 Use Macro  for table name in SAS Procedures</title>
    <link>https://communities.sas.com/t5/SAS-Procedures/Use-Macro-for-table-name/m-p/62641#M17820</link>
    <description>how we can change the Table name with the help of Macro.&lt;BR /&gt;
like I want name like this &lt;BR /&gt;
TABLE HUB_SANC FROM HUB_MIS&lt;BR /&gt;
TABLE STATE_SANC FROM STATE_MIS</description>
    <pubDate>Sat, 08 Aug 2009 07:21:12 GMT</pubDate>
    <dc:creator>vimal</dc:creator>
    <dc:date>2009-08-08T07:21:12Z</dc:date>
    <item>
      <title>Use Macro  for table name</title>
      <link>https://communities.sas.com/t5/SAS-Procedures/Use-Macro-for-table-name/m-p/62641#M17820</link>
      <description>how we can change the Table name with the help of Macro.&lt;BR /&gt;
like I want name like this &lt;BR /&gt;
TABLE HUB_SANC FROM HUB_MIS&lt;BR /&gt;
TABLE STATE_SANC FROM STATE_MIS</description>
      <pubDate>Sat, 08 Aug 2009 07:21:12 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Procedures/Use-Macro-for-table-name/m-p/62641#M17820</guid>
      <dc:creator>vimal</dc:creator>
      <dc:date>2009-08-08T07:21:12Z</dc:date>
    </item>
    <item>
      <title>Re: Use Macro  for table name</title>
      <link>https://communities.sas.com/t5/SAS-Procedures/Use-Macro-for-table-name/m-p/62642#M17821</link>
      <description>You can use a %LET statement to substitute a value using a macro variable name.  Or if you have a macro, then you can invoke the macro supplying a macro variable value in parentheses.&lt;BR /&gt;
&lt;BR /&gt;
Scott Barry&lt;BR /&gt;
SBBWorks, Inc.&lt;BR /&gt;
&lt;BR /&gt;
Introduction to the Macro Facility&lt;BR /&gt;
&lt;A href="http://support.sas.com/documentation/cdl/en/mcrolref/61885/HTML/default/a002293969.htm" target="_blank"&gt;http://support.sas.com/documentation/cdl/en/mcrolref/61885/HTML/default/a002293969.htm&lt;/A&gt;</description>
      <pubDate>Sat, 08 Aug 2009 13:31:03 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Procedures/Use-Macro-for-table-name/m-p/62642#M17821</guid>
      <dc:creator>sbb</dc:creator>
      <dc:date>2009-08-08T13:31:03Z</dc:date>
    </item>
    <item>
      <title>Re: Use Macro  for table name</title>
      <link>https://communities.sas.com/t5/SAS-Procedures/Use-Macro-for-table-name/m-p/62643#M17822</link>
      <description>WHEN  I am using &lt;BR /&gt;
&lt;BR /&gt;
%LET A= BANK;&lt;BR /&gt;
&lt;BR /&gt;
THEN I got following error.&lt;BR /&gt;
Please check let me know how I can change the name of my table&lt;BR /&gt;
&lt;BR /&gt;
&lt;BR /&gt;
&lt;BR /&gt;
47         PROC SQL;&lt;BR /&gt;
48          CREATE TABLE &amp;amp;A_MASTER_TO_DUMP AS SELECT DISTINCT  (SUM(ACTUAL_DISBURSAL/10000000)) AS&lt;BR /&gt;
                         _&lt;BR /&gt;
                         22&lt;BR /&gt;
                          ________________&lt;BR /&gt;
                          202&lt;BR /&gt;
48       ! DISBURSAL,COUNT(ACTUAL_DISBURSAL)AS DISBURSE_COUNT,&lt;BR /&gt;
WARNING: Apparent symbolic reference A_MASTER_TO_DUMP not resolved.&lt;BR /&gt;
ERROR 22-322: Syntax error, expecting one of the following: a name, a quoted string.  &lt;BR /&gt;
&lt;BR /&gt;
ERROR 202-322: The option or parameter is not recognized and will be ignored.&lt;BR /&gt;
&lt;BR /&gt;
49         ADM1,Zone,Cluster,SOL_ID&lt;BR /&gt;
50          FROM &amp;amp;A_MASTER_TO&lt;BR /&gt;
WARNING: Apparent symbolic reference A_MASTER_TO not resolved.&lt;BR /&gt;
50          FROM &amp;amp;A_MASTER_TO&lt;BR /&gt;
                 _&lt;BR /&gt;
                 22&lt;BR /&gt;
ERROR 22-322: Syntax error, expecting one of the following: a name, a quoted string, (, CONNECTION, DICTIONARY.  &lt;BR /&gt;
3                                                          The SAS System                              09:50 Monday, August 10, 2009&lt;BR /&gt;
&lt;BR /&gt;
&lt;BR /&gt;
50          FROM &amp;amp;A_MASTER_TO&lt;BR /&gt;
                  ___________&lt;BR /&gt;
                  202&lt;BR /&gt;
ERROR 202-322: The option or parameter is not recognized and will be ignored.</description>
      <pubDate>Mon, 10 Aug 2009 04:38:51 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Procedures/Use-Macro-for-table-name/m-p/62643#M17822</guid>
      <dc:creator>vimal</dc:creator>
      <dc:date>2009-08-10T04:38:51Z</dc:date>
    </item>
    <item>
      <title>Re: Use Macro  for table name</title>
      <link>https://communities.sas.com/t5/SAS-Procedures/Use-Macro-for-table-name/m-p/62644#M17823</link>
      <description>Try using "." after calling macro:&lt;BR /&gt;
&lt;BR /&gt;
CREATE TABLE &amp;amp;A._MASTER_TO_DUMP AS SELECT DISTINCT (SUM(ACTUAL_DISBURSAL/10000000)) AS</description>
      <pubDate>Mon, 10 Aug 2009 06:28:03 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Procedures/Use-Macro-for-table-name/m-p/62644#M17823</guid>
      <dc:creator>ieva</dc:creator>
      <dc:date>2009-08-10T06:28:03Z</dc:date>
    </item>
  </channel>
</rss>

