<?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 retrieve the macro code from the macro catelog under option=secure? in SAS Programming</title>
    <link>https://communities.sas.com/t5/SAS-Programming/how-to-retrieve-the-macro-code-from-the-macro-catelog-under/m-p/630825#M186799</link>
    <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://communities.sas.com/t5/user/viewprofilepage/user-id/298115"&gt;@blueskyxyz&lt;/a&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;As far as I know, the SECURE option is here to prevent reverse engineering of macro code to occur. The goal of this option is to protect source code and prevent its extraction. In practice, it temporarily disables the MPRINT and MLOGIC options so that nothing appears in the log.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Here is an interesting paper about this topic: &lt;A href="http://www.mwsug.org/proceedings/2011/appdev/MWSUG-2011-AD13.pdf" target="_self"&gt;http://www.mwsug.org/proceedings/2011/appdev/MWSUG-2011-AD13.pdf&lt;/A&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Hope this helps,&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Best,&lt;/P&gt;</description>
    <pubDate>Tue, 10 Mar 2020 09:00:59 GMT</pubDate>
    <dc:creator>ed_sas_member</dc:creator>
    <dc:date>2020-03-10T09:00:59Z</dc:date>
    <item>
      <title>how to retrieve the macro code from the macro catelog under option=secure?</title>
      <link>https://communities.sas.com/t5/SAS-Programming/how-to-retrieve-the-macro-code-from-the-macro-catelog-under/m-p/630823#M186798</link>
      <description>&lt;P&gt;**********&lt;BR /&gt;&lt;A href="http://support.sas.com/kb/22/352.html" target="_blank" rel="noopener"&gt;http://support.sas.com/kb/22/352.html&lt;/A&gt;&lt;BR /&gt;&lt;A href="https://blogs.sas.com/content/sgf/2017/08/21/always-save-your-code-when-creating-a-stored-compiled-macro/" target="_blank" rel="noopener"&gt;https://blogs.sas.com/content/sgf/2017/08/21/always-save-your-code-when-creating-a-stored-compiled-macro/&lt;/A&gt;&lt;BR /&gt;**********;&lt;/P&gt;
&lt;P&gt;libname mymacro 'D:\W\Code_lib\mymacro';&lt;BR /&gt;options mstored sasmstore=mymacro;&lt;/P&gt;
&lt;P&gt;%macro test(arg) / store source des="test of the source option" secure;&lt;BR /&gt;&amp;nbsp;&amp;nbsp; %put arg = &amp;amp;arg;&lt;BR /&gt;&amp;nbsp;&amp;nbsp; data one;&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; x=1;&lt;BR /&gt;&amp;nbsp;&amp;nbsp; run;&lt;BR /&gt;%mend test;&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="sas1.JPG" style="width: 400px;"&gt;&lt;img src="https://communities.sas.com/t5/image/serverpage/image-id/36720i7F2AFCCDA6B445F9/image-size/medium?v=v2&amp;amp;px=400" role="button" title="sas1.JPG" alt="sas1.JPG" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;%copy test / source;&lt;/P&gt;</description>
      <pubDate>Tue, 10 Mar 2020 08:51:47 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/how-to-retrieve-the-macro-code-from-the-macro-catelog-under/m-p/630823#M186798</guid>
      <dc:creator>blueskyxyz</dc:creator>
      <dc:date>2020-03-10T08:51:47Z</dc:date>
    </item>
    <item>
      <title>Re: how to retrieve the macro code from the macro catelog under option=secure?</title>
      <link>https://communities.sas.com/t5/SAS-Programming/how-to-retrieve-the-macro-code-from-the-macro-catelog-under/m-p/630825#M186799</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://communities.sas.com/t5/user/viewprofilepage/user-id/298115"&gt;@blueskyxyz&lt;/a&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;As far as I know, the SECURE option is here to prevent reverse engineering of macro code to occur. The goal of this option is to protect source code and prevent its extraction. In practice, it temporarily disables the MPRINT and MLOGIC options so that nothing appears in the log.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Here is an interesting paper about this topic: &lt;A href="http://www.mwsug.org/proceedings/2011/appdev/MWSUG-2011-AD13.pdf" target="_self"&gt;http://www.mwsug.org/proceedings/2011/appdev/MWSUG-2011-AD13.pdf&lt;/A&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Hope this helps,&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Best,&lt;/P&gt;</description>
      <pubDate>Tue, 10 Mar 2020 09:00:59 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/how-to-retrieve-the-macro-code-from-the-macro-catelog-under/m-p/630825#M186799</guid>
      <dc:creator>ed_sas_member</dc:creator>
      <dc:date>2020-03-10T09:00:59Z</dc:date>
    </item>
    <item>
      <title>Re: how to retrieve the macro code from the macro catelog under option=secure?</title>
      <link>https://communities.sas.com/t5/SAS-Programming/how-to-retrieve-the-macro-code-from-the-macro-catelog-under/m-p/630841#M186806</link>
      <description>Hi ed_sas_member , thanks for sharing.</description>
      <pubDate>Tue, 10 Mar 2020 10:16:16 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/how-to-retrieve-the-macro-code-from-the-macro-catelog-under/m-p/630841#M186806</guid>
      <dc:creator>blueskyxyz</dc:creator>
      <dc:date>2020-03-10T10:16:16Z</dc:date>
    </item>
    <item>
      <title>Re: how to retrieve the macro code from the macro catelog under option=secure?</title>
      <link>https://communities.sas.com/t5/SAS-Programming/how-to-retrieve-the-macro-code-from-the-macro-catelog-under/m-p/630843#M186808</link>
      <description>&lt;P&gt;You're welcome&amp;nbsp;&lt;img id="smileyhappy" class="emoticon emoticon-smileyhappy" src="https://communities.sas.com/i/smilies/16x16_smiley-happy.png" alt="Smiley Happy" title="Smiley Happy" /&gt;&lt;/P&gt;</description>
      <pubDate>Tue, 10 Mar 2020 10:26:07 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/how-to-retrieve-the-macro-code-from-the-macro-catelog-under/m-p/630843#M186808</guid>
      <dc:creator>ed_sas_member</dc:creator>
      <dc:date>2020-03-10T10:26:07Z</dc:date>
    </item>
  </channel>
</rss>

