Date: Tue, 6 Dec 2005 10:57:00 -0500
Reply-To: Jim Groeneveld <jim1stat@YAHOO.CO.UK>
Sender: "SAS(r) Discussion" <SAS-L@LISTSERV.UGA.EDU>
From: Jim Groeneveld <jim1stat@YAHOO.CO.UK>
Subject: Re: Hiding SAS Macro code
Deja vu? See discussion on this subject of end of November on SAS-L.
"Compiled" NE ("secured", "encrypted", "hidden").
Regards - Jim.
Y. (Jim) Groeneveld, MSc., Biostatistician, Vitatron b.v., NL
Jim.Groeneveld_AT_Vitatron.com (replace _AT_ by AT sign)
My computer regards me as its master, but I seem to be its slave.
On Tue, 6 Dec 2005 08:05:41 -0500, SUBSCRIBE SAS-L Katja Gla=?ISO-8859-1?Q?
=DF?= <cayburn@GMX.DE> wrote:
>at least there are two possible ways belonging to this context. You can
>use compiled macros and you can use the source code produced out of your
>You can compile your macros within a catalog with the "/store"-option.
>Then your clients can include that library, can't see the code and can run
>the macros. The problem is, that they can use your macros also somewhere
>else, when they know how to call them. You also have to take care, that
>the quellcode can't be shown with the options of symbolgen, mprint and
>mlogic. You can deactivate those options and reset them at the end of your
>At least your code is not known and can't be used for evaluation purposes.
>If your clients has to proove that no manipulation is done, this would not
>Normally you produce quite a lot of quellcode automatically with macros.
>You can use your macros to produce the needed source code (program code)
>and then you can submit this source code. You can display the source code
>with the mprint-option. The clients can see your tricks of source code but
>not the tricks of your macros then.
>I hope this helps you.
>On Sat, 3 Dec 2005 15:50:25 -0500, Lou <lpogodajr292185@COMCAST.NET> wrote:
>><email@example.com> wrote in message
>>> A client has requested all code for a study so that they can run
>>> programmes independently. We have a battery of standard macros that
>>> make our life easier. If the client receives all these tricks then we
>>> may not get any repeat trade from them - they could use the same code
>>> for subsequent studies.
>>> What we would like to do is for them to run programme code that may
>>> call a macro without showing the code in the log.
>>> I know this has been brought up before - but I haven't found a
>>> satisfactory answer....
>>> Can anyone help?
>>> Thanks in advance,
>>This doesn't answer the question actually asked, but a couple of points to
>>Does your contract with this client make any stipulatation about the
>>programs you've written to do this job? Contracts often state that you're
>>providing a certain result, not the program code used to arrive at those
>>Have you considered selling the code to them? I've seen that happen
>>occasionally when a client wants the program code.