<?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 do I use macros to save and list all macros in a session in SAS Programming</title>
    <link>https://communities.sas.com/t5/SAS-Programming/How-do-I-use-macros-to-save-and-list-all-macros-in-a-session/m-p/457778#M116111</link>
    <description>&lt;P&gt;If your macros are not declared with the SOURCE option it's hard to get the code back out. Did you declare them with the SOURCE option?&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Thu, 26 Apr 2018 15:00:51 GMT</pubDate>
    <dc:creator>Reeza</dc:creator>
    <dc:date>2018-04-26T15:00:51Z</dc:date>
    <item>
      <title>How do I use macros to save and list all macros in a session</title>
      <link>https://communities.sas.com/t5/SAS-Programming/How-do-I-use-macros-to-save-and-list-all-macros-in-a-session/m-p/457646#M116045</link>
      <description>&lt;P&gt;I would like to save all the macros permanently defined as part of the complete exercise and list all the macros. I have 6 macros which I want to save and retrieve in this session:&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;%macro one(a,b,c)
%macro gchart(dseti,Weight,Gender)
%macro plot(dsetin,height,weight)
%macro one(a,b,c,strtpt,endpt)
%macro test
%macro name(dsetin,year,revenue)
%macro import_myfile(i=)&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;I have the code below and the error message follows it.&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;options mstored sasmstore=macross; 
libname mjstore "C:\Users\komal\Desktop\Advanced SAS"; 
 proc catalog cat=mjstore.macross;
      contents;
      title "Default Storage of SAS Macros";
     quit

Error: Catalog "MJSTORE.MACROSS" not found&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;Please let me know your advice on how to solve it. Thank you for your time.&lt;/P&gt;</description>
      <pubDate>Thu, 26 Apr 2018 09:27:29 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/How-do-I-use-macros-to-save-and-list-all-macros-in-a-session/m-p/457646#M116045</guid>
      <dc:creator>Komal2</dc:creator>
      <dc:date>2018-04-26T09:27:29Z</dc:date>
    </item>
    <item>
      <title>Re: How do I use macros to save and list all macros in a session</title>
      <link>https://communities.sas.com/t5/SAS-Programming/How-do-I-use-macros-to-save-and-list-all-macros-in-a-session/m-p/457649#M116047</link>
      <description>&lt;P&gt;This:&lt;/P&gt;
&lt;PRE&gt;Error: Catalog "MJSTORE.MACROSS" not found&lt;/PRE&gt;
&lt;P&gt;tells you that there is no file&lt;/P&gt;
&lt;PRE&gt;macross.sas7bcat&lt;/PRE&gt;
&lt;P&gt;in directory&lt;/P&gt;
&lt;PRE&gt;C:\Users\komal\Desktop\Advanced SAS&lt;/PRE&gt;
&lt;P&gt;Maybe you wanted to use&lt;/P&gt;
&lt;PRE&gt;MJSTORE.MACROS&lt;/PRE&gt;
&lt;P&gt;?&lt;/P&gt;</description>
      <pubDate>Thu, 26 Apr 2018 09:38:41 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/How-do-I-use-macros-to-save-and-list-all-macros-in-a-session/m-p/457649#M116047</guid>
      <dc:creator>Kurt_Bremser</dc:creator>
      <dc:date>2018-04-26T09:38:41Z</dc:date>
    </item>
    <item>
      <title>Re: How do I use macros to save and list all macros in a session</title>
      <link>https://communities.sas.com/t5/SAS-Programming/How-do-I-use-macros-to-save-and-list-all-macros-in-a-session/m-p/457662#M116052</link>
      <description>&lt;P&gt;Avoid using compiled catalogs, save macro's as text files and include them or put them as part of the auto call.&amp;nbsp; Compiled libraries are bad, compatability between systems/bits is poor, code is hidden making updating or general use so much harder.&amp;nbsp;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 26 Apr 2018 10:10:46 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/How-do-I-use-macros-to-save-and-list-all-macros-in-a-session/m-p/457662#M116052</guid>
      <dc:creator>RW9</dc:creator>
      <dc:date>2018-04-26T10:10:46Z</dc:date>
    </item>
    <item>
      <title>Re: How do I use macros to save and list all macros in a session</title>
      <link>https://communities.sas.com/t5/SAS-Programming/How-do-I-use-macros-to-save-and-list-all-macros-in-a-session/m-p/457778#M116111</link>
      <description>&lt;P&gt;If your macros are not declared with the SOURCE option it's hard to get the code back out. Did you declare them with the SOURCE option?&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 26 Apr 2018 15:00:51 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/How-do-I-use-macros-to-save-and-list-all-macros-in-a-session/m-p/457778#M116111</guid>
      <dc:creator>Reeza</dc:creator>
      <dc:date>2018-04-26T15:00:51Z</dc:date>
    </item>
  </channel>
</rss>

