<?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 How to save macro to a dataset? in SAS Programming</title>
    <link>https://communities.sas.com/t5/SAS-Programming/How-to-save-macro-to-a-dataset/m-p/419292#M103080</link>
    <description>&lt;P&gt;Hi, how do I save macro to a dataset, and export it to excel?&amp;nbsp;&lt;/P&gt;
&lt;P&gt;The export part is easy and I know, but I couldn't figure out how to save macro to a dataset [not a catalog, proc export doesn't work with catalogs]&lt;/P&gt;
&lt;P&gt;Thank you.&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Thu, 07 Dec 2017 18:55:56 GMT</pubDate>
    <dc:creator>jint83</dc:creator>
    <dc:date>2017-12-07T18:55:56Z</dc:date>
    <item>
      <title>How to save macro to a dataset?</title>
      <link>https://communities.sas.com/t5/SAS-Programming/How-to-save-macro-to-a-dataset/m-p/419292#M103080</link>
      <description>&lt;P&gt;Hi, how do I save macro to a dataset, and export it to excel?&amp;nbsp;&lt;/P&gt;
&lt;P&gt;The export part is easy and I know, but I couldn't figure out how to save macro to a dataset [not a catalog, proc export doesn't work with catalogs]&lt;/P&gt;
&lt;P&gt;Thank you.&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 07 Dec 2017 18:55:56 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/How-to-save-macro-to-a-dataset/m-p/419292#M103080</guid>
      <dc:creator>jint83</dc:creator>
      <dc:date>2017-12-07T18:55:56Z</dc:date>
    </item>
    <item>
      <title>Re: How to save macro to a dataset?</title>
      <link>https://communities.sas.com/t5/SAS-Programming/How-to-save-macro-to-a-dataset/m-p/419293#M103081</link>
      <description>&lt;BLOCKQUOTE&gt;&lt;HR /&gt;&lt;a href="https://communities.sas.com/t5/user/viewprofilepage/user-id/24314"&gt;@jint83&lt;/a&gt; wrote:&lt;BR /&gt;
&lt;P&gt;Hi, how do I save macro to a dataset, and export it to excel?&amp;nbsp;&lt;/P&gt;
&lt;P&gt;The export part is easy and I know, but I couldn't figure out how to save macro to a dataset [not a catalog, proc export doesn't work with catalogs]&lt;/P&gt;
&lt;P&gt;Thank you.&amp;nbsp;&lt;/P&gt;
&lt;HR /&gt;&lt;/BLOCKQUOTE&gt;
&lt;P&gt;This is very unclear. There is no real way to save a macro in a dataset except as a long string of text, and there's no point in doing that. Could you explain in more detail what you want to do with this macro? (Normally macros are saved in .sas programs, you don't need to do anything more than that). There's absolutely no point to export a SAS macro to Excel.&lt;/P&gt;</description>
      <pubDate>Thu, 07 Dec 2017 18:58:15 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/How-to-save-macro-to-a-dataset/m-p/419293#M103081</guid>
      <dc:creator>PaigeMiller</dc:creator>
      <dc:date>2017-12-07T18:58:15Z</dc:date>
    </item>
    <item>
      <title>Re: How to save macro to a dataset?</title>
      <link>https://communities.sas.com/t5/SAS-Programming/How-to-save-macro-to-a-dataset/m-p/419298#M103083</link>
      <description>&lt;P&gt;Play with sashelp.vmacro view&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;data want;&lt;/P&gt;&lt;P&gt;set sashelp.vmacro;&lt;/P&gt;&lt;P&gt;run;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;filter the&amp;nbsp;&lt;SPAN&gt;sashelp.vmacro&amp;nbsp; dictionary view however you like. HTH&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 07 Dec 2017 19:03:28 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/How-to-save-macro-to-a-dataset/m-p/419298#M103083</guid>
      <dc:creator>novinosrin</dc:creator>
      <dc:date>2017-12-07T19:03:28Z</dc:date>
    </item>
    <item>
      <title>Re: How to save macro to a dataset?</title>
      <link>https://communities.sas.com/t5/SAS-Programming/How-to-save-macro-to-a-dataset/m-p/419354#M103105</link>
      <description>&lt;P&gt;As a long string of text, delimetered, is fine.&amp;nbsp;&lt;/P&gt;
&lt;P&gt;This is needed since proc glmselect&amp;nbsp;outputs its selected predictors as a macro:&lt;SPAN&gt;_GLSIND1 ,&amp;nbsp;as indicated in:&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;A href="https://support.sas.com/documentation/cdl/en/statug/63347/HTML/default/viewer.htm#statug_glmselect_sect022.htm" target="_blank"&gt;https://support.sas.com/documentation/cdl/en/statug/63347/HTML/default/viewer.htm#statug_glmselect_sect022.htm&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;I need the selected predictors outputed&amp;nbsp;in an excel or text or as a string.&lt;/P&gt;</description>
      <pubDate>Thu, 07 Dec 2017 21:16:09 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/How-to-save-macro-to-a-dataset/m-p/419354#M103105</guid>
      <dc:creator>jint83</dc:creator>
      <dc:date>2017-12-07T21:16:09Z</dc:date>
    </item>
  </channel>
</rss>

