<?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 Remove encryption for a macro ????? in SAS Programming</title>
    <link>https://communities.sas.com/t5/SAS-Programming/How-to-Remove-encryption-for-a-macro/m-p/85300#M18328</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Could you not just rewrite it?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Fri, 24 May 2013 22:37:42 GMT</pubDate>
    <dc:creator>Peter_C</dc:creator>
    <dc:date>2013-05-24T22:37:42Z</dc:date>
    <item>
      <title>How to Remove encryption for a macro ?????</title>
      <link>https://communities.sas.com/t5/SAS-Programming/How-to-Remove-encryption-for-a-macro/m-p/85297#M18325</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;SPAN style="font-family: courier new,courier;"&gt;Hi All..&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: courier new,courier;"&gt;Hope you people doing well..&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: courier new,courier;"&gt;Recently i had an issue with a macro created by me.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: courier new,courier;"&gt;I have created a macro, i have stored and encrypted that macro due to some security reason by using Stored and Secure options in macro.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: courier new,courier;"&gt;Like &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: courier new,courier;"&gt;%macro Test/Store secure;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: courier new,courier;"&gt;Proc print;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: courier new,courier;"&gt;run;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: courier new,courier;"&gt;%end;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: courier new,courier;"&gt;Now trying to see source code of the macro by using %Copy,but log was not producing source code because i used&amp;nbsp;&amp;nbsp; secure option.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: courier new,courier;"&gt;Log message was also saying the same.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: courier new,courier;"&gt;&lt;STRONG&gt;&lt;SPAN style="color: #222222; font-size: 13px; font-style: normal; text-align: start; text-indent: 0px; background-color: #ffffff;"&gt;NOTE: The macro %PRINT was compiled with the /SECURE option.&amp;nbsp; No output will be produced for&lt;/SPAN&gt;&lt;SPAN style="color: #222222; font-size: 13px; font-style: normal; text-align: start; text-indent: 0px; background-color: #ffffff;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; this %COPY statement.&lt;/SPAN&gt;&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: courier new,courier;"&gt;&lt;STRONG style="text-indent: 0px; text-align: start; color: #222222; font-style: normal; font-size: 13px; background-color: #ffffff;"&gt;&lt;BR /&gt;&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: courier new,courier;"&gt;&lt;STRONG style="text-indent: 0px; text-align: start; color: #222222; font-style: normal; font-size: 13px; background-color: #ffffff;"&gt;&lt;BR /&gt;&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #222222; font-family: courier new,courier; font-size: 13px; font-style: normal; text-align: start; text-indent: 0px; background-color: #ffffff;"&gt;So is there any way to make that macro unsecured???? i mean to say i want to see the source code for that macro..&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #222222; font-family: courier new,courier; font-size: 13px; font-style: normal; text-align: start; text-indent: 0px; background-color: #ffffff;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #222222; font-family: courier new,courier; font-size: 13px; font-style: normal; text-align: start; text-indent: 0px; background-color: #ffffff;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #222222; font-family: courier new,courier; font-size: 13px; font-style: normal; text-align: start; text-indent: 0px; background-color: #ffffff;"&gt;Any Suggestions??&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: courier new,courier;"&gt;&lt;STRONG style="text-indent: 0px; text-align: start; color: #222222; font-style: normal; font-size: 13px; background-color: #ffffff;"&gt;&lt;BR /&gt;&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: courier new,courier;"&gt;&lt;STRONG style="text-indent: 0px; text-align: start; color: #222222; font-style: normal; font-size: 13px; background-color: #ffffff;"&gt;&lt;BR /&gt;&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: courier new,courier;"&gt;&lt;STRONG style="text-indent: 0px; text-align: start; color: #222222; font-style: normal; font-size: 13px; background-color: #ffffff;"&gt;Regards..&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: courier new,courier;"&gt;&lt;STRONG style="text-indent: 0px; text-align: start; color: #222222; font-style: normal; font-size: 13px; background-color: #ffffff;"&gt;&lt;BR /&gt;&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: courier new,courier;"&gt;&lt;STRONG style="text-indent: 0px; text-align: start; color: #222222; font-style: normal; font-size: 13px; background-color: #ffffff;"&gt;Sanjeev.K&lt;BR /&gt;&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 24 May 2013 10:55:46 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/How-to-Remove-encryption-for-a-macro/m-p/85297#M18325</guid>
      <dc:creator>kuridisanjeev</dc:creator>
      <dc:date>2013-05-24T10:55:46Z</dc:date>
    </item>
    <item>
      <title>Re: How to Remove encryption for a macro ?????</title>
      <link>https://communities.sas.com/t5/SAS-Programming/How-to-Remove-encryption-for-a-macro/m-p/85298#M18326</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;SPAN style="font-family: courier new,courier;"&gt;Unfortunately i don't have copy of the macro code.that is the reason i want see that macro code.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: courier new,courier;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: courier new,courier;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: courier new,courier;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: courier new,courier;"&gt;Regards.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: courier new,courier;"&gt;Sanjeev.K&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 24 May 2013 11:04:50 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/How-to-Remove-encryption-for-a-macro/m-p/85298#M18326</guid>
      <dc:creator>kuridisanjeev</dc:creator>
      <dc:date>2013-05-24T11:04:50Z</dc:date>
    </item>
    <item>
      <title>Re: How to Remove encryption for a macro ?????</title>
      <link>https://communities.sas.com/t5/SAS-Programming/How-to-Remove-encryption-for-a-macro/m-p/85299#M18327</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Sanjeev -&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I am very sorry to have to give you the news -- stored compiled macros cannot be restored again, especially with the SECURE option.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The point to the SECURE macro option is to protect the source code. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;A href="http://support.sas.com/documentation/cdl/en/mcrolref/62978/HTML/default/viewer.htm#n0sjezyl65z1cpn1b6mqfo8115h2.htm" title="http://support.sas.com/documentation/cdl/en/mcrolref/62978/HTML/default/viewer.htm#n0sjezyl65z1cpn1b6mqfo8115h2.htm"&gt;SAS(R) 9.3 Macro Language: Reference&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;CAUTION:&lt;/P&gt;&lt;P&gt;Save your macro source code. &lt;/P&gt;&lt;P&gt;You cannot recreate the source statements from a compiled macro. Therefore, you must save the original macro source statements if you want to change the macro. For all stored compiled macros, you should document your macro source code well. You can save the source code with the compiled code using the SOURCE option in the %MACRO statement or you can save the source in a separate file. If you save the source in a separate file, it is recommended that you save the source code in the same catalog as the compiled macro.&lt;/P&gt;&lt;P&gt;In this example, save it to the following library: mylib.sasmacro.myfiles.source&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Jan&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 24 May 2013 17:57:17 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/How-to-Remove-encryption-for-a-macro/m-p/85299#M18327</guid>
      <dc:creator>jwsquillace</dc:creator>
      <dc:date>2013-05-24T17:57:17Z</dc:date>
    </item>
    <item>
      <title>Re: How to Remove encryption for a macro ?????</title>
      <link>https://communities.sas.com/t5/SAS-Programming/How-to-Remove-encryption-for-a-macro/m-p/85300#M18328</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Could you not just rewrite it?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 24 May 2013 22:37:42 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/How-to-Remove-encryption-for-a-macro/m-p/85300#M18328</guid>
      <dc:creator>Peter_C</dc:creator>
      <dc:date>2013-05-24T22:37:42Z</dc:date>
    </item>
    <item>
      <title>Re: How to Remove encryption for a macro ?????</title>
      <link>https://communities.sas.com/t5/SAS-Programming/How-to-Remove-encryption-for-a-macro/m-p/85301#M18329</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;SPAN style="font-family: courier new,courier;"&gt;Hi &lt;/SPAN&gt;&lt;SPAN class="j-post-author "&gt;&lt;STRONG&gt;&lt;A _jive_internal="true" class="jiveTT-hover-user jive-username-link active_link" data-avatarid="-1" data-externalid="" data-presence="null" data-userid="392339" data-username="Peter.C" href="https://communities.sas.com/people/Peter.C" id="jive-39233970140059387301803"&gt;Peter.C&lt;/A&gt;&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: courier new,courier;"&gt;If i can able to rewrite that macro,no point in posting this question.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: courier new,courier;"&gt;the macro has lot's of complex logic and it was pretty big.i spent more then a week to write that macro and unfortunately i lost that code.That is the reason i looking for other solutions.&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: courier new,courier;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: courier new,courier;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: courier new,courier;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: courier new,courier;"&gt;Sanjeev.K&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 27 May 2013 08:22:06 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/How-to-Remove-encryption-for-a-macro/m-p/85301#M18329</guid>
      <dc:creator>kuridisanjeev</dc:creator>
      <dc:date>2013-05-27T08:22:06Z</dc:date>
    </item>
  </channel>
</rss>

