<?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: more macros within one macro in SAS Programming</title>
    <link>https://communities.sas.com/t5/SAS-Programming/more-macros-within-one-macro/m-p/87246#M18637</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;will try this today&lt;/P&gt;&lt;P&gt;Thanks Reeza&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Mon, 28 Jan 2013 12:28:02 GMT</pubDate>
    <dc:creator>Tal</dc:creator>
    <dc:date>2013-01-28T12:28:02Z</dc:date>
    <item>
      <title>more macros within one macro</title>
      <link>https://communities.sas.com/t5/SAS-Programming/more-macros-within-one-macro/m-p/87242#M18633</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;hi all,&lt;/P&gt;&lt;P&gt;Can i have more macro codes written within one and then by callin the main one i can execute all?&lt;/P&gt;&lt;P&gt;Also,i have&amp;nbsp; a dataset out of each i am supposed to run 10 queries.Can I write a macro that would export the results of all these 10 queries into one workbook of excel?&lt;/P&gt;&lt;P&gt;Not all of the 10 queries have the same column names.And if macro cant,can i do the same then without macro?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I am need to have the results of all the queries on one workbook so i can easily populate some tables in excel&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Please anyone&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sun, 27 Jan 2013 03:31:23 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/more-macros-within-one-macro/m-p/87242#M18633</guid>
      <dc:creator>Tal</dc:creator>
      <dc:date>2013-01-27T03:31:23Z</dc:date>
    </item>
    <item>
      <title>Re: more macros within one macro</title>
      <link>https://communities.sas.com/t5/SAS-Programming/more-macros-within-one-macro/m-p/87243#M18634</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;A macro can call anything you want it to.&lt;/P&gt;&lt;P&gt;%macro big ;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; %small1;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; %small2;&lt;/P&gt;&lt;P&gt;%mend big;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Look at using ODS TAGSETS.EXCELXP to generate output into multiple sheets of an excel file. &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sun, 27 Jan 2013 04:37:15 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/more-macros-within-one-macro/m-p/87243#M18634</guid>
      <dc:creator>Tom</dc:creator>
      <dc:date>2013-01-27T04:37:15Z</dc:date>
    </item>
    <item>
      <title>Re: more macros within one macro</title>
      <link>https://communities.sas.com/t5/SAS-Programming/more-macros-within-one-macro/m-p/87244#M18635</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;sorry i meant to ask if i can have sas export the results of all the queries onto one worksheet but i guess&amp;nbsp; that s not possible.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks Tom&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 28 Jan 2013 05:02:35 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/more-macros-within-one-macro/m-p/87244#M18635</guid>
      <dc:creator>Tal</dc:creator>
      <dc:date>2013-01-28T05:02:35Z</dc:date>
    </item>
    <item>
      <title>Re: more macros within one macro</title>
      <link>https://communities.sas.com/t5/SAS-Programming/more-macros-within-one-macro/m-p/87245#M18636</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Yes you can, but you'll have different tables is all, they won't stack up. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;ods tagsets.excelxp file="c:\temp\test.xls";&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;proc print data=sashelp.class;&lt;/P&gt;&lt;P&gt;run;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;proc print data=sashelp.cars;&lt;/P&gt;&lt;P&gt;run;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;ods tagsets.excelxp close;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 28 Jan 2013 05:41:54 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/more-macros-within-one-macro/m-p/87245#M18636</guid>
      <dc:creator>Reeza</dc:creator>
      <dc:date>2013-01-28T05:41:54Z</dc:date>
    </item>
    <item>
      <title>Re: more macros within one macro</title>
      <link>https://communities.sas.com/t5/SAS-Programming/more-macros-within-one-macro/m-p/87246#M18637</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;will try this today&lt;/P&gt;&lt;P&gt;Thanks Reeza&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 28 Jan 2013 12:28:02 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/more-macros-within-one-macro/m-p/87246#M18637</guid>
      <dc:creator>Tal</dc:creator>
      <dc:date>2013-01-28T12:28:02Z</dc:date>
    </item>
  </channel>
</rss>

