Date: Mon, 28 Aug 2006 16:48:51 +0530
Reply-To: Madan Gopal Kundu <Madan.Kundu@RANBAXY.COM>
Sender: "SAS(r) Discussion" <SAS-L@LISTSERV.UGA.EDU>
From: Madan Gopal Kundu <Madan.Kundu@RANBAXY.COM>
Subject: Re: Blinding the code of macro
Content-Type: text/plain; charset="us-ascii"
Dear Prakash,
Thank you for your response. I had in mind that sasmstore/mstored option
can be useful for me. But in that case also user can see my code using
option mprint. So sasmstore/mstored is NOT solution my query.
Thanks and Regards,
MADAN
-----Original Message-----
From: MOORTHY Prakash Eswara [mailto:MOORTHYP@essilor.com.sg]
Sent: 28 August 2006 14:25
To: Madan Gopal Kundu
Subject: RE: Blinding the code of macro
Hi madan,
You can use compiled stored macro facility to store the compiled macro
(sasmstore ,mstored option to store the compiled macro in to permanent
location) ,whenever you compiled the code for the first time it will
create an entry in the catalogue after tht you won't need the code
for
execution ,so others will not able view the code behind the compiled
macro
you can try this ..
Regards,
Prakash.
-----Original Message-----
From: SAS(r) Discussion [mailto:SAS-L@LISTSERV.UGA.EDU] On Behalf Of
Madan
Gopal Kundu
Sent: Monday, August 28, 2006 3:29 PM
To: SAS-L@LISTSERV.UGA.EDU
Subject: Blinding the code of macro
Dear ALL,
I want to create a file in SAS such that people can use a macro but
cannot see the code written in that macro.
For example,
%macro sum(a=,b=);
%let C=%sysevalf(&a. + &b.);
%put Sum of &a. and &b. is &c.;
%mend;
Now my wish is that people can use the macro %sum but they cannot see
the coding within the macro %sum. I know this type of file can be
created in C or Visual Basic. Does it possible in SAS so that people can
use a macro without seeing its code?
Hoping for your reply.
Thanks & Regards,
Madan Gopal Kundu
(i) The information contained in this e-mail message is intended only
for
the confidential use of the recipient(s) named above. This message is
privileged and confidential. If the reader of this message is not the
intended recipient or an agent responsible for delivering it to the
intended
recipient, you are hereby notified that you have received this document
in
error and that any review, dissemination, distribution, or copying of
this
message is strictly prohibited. If you have received this communication
in
error, please notify us immediately by e-mail, and delete the original
message.
(ii) The sender confirms that Ranbaxy shall not be responsible if this
email message is used for any indecent, unsolicited or illegal purposes,
which are in violation of any existing laws and the same shall solely be
the
responsibility of the sender and that Ranbaxy shall at all times be
indemnified of any civil and/ or criminal liabilities or consequences
there.
(i) The information contained in this e-mail message is intended only for the confidential use of the recipient(s) named above. This message is privileged and confidential. If the reader of this message is not the intended recipient or an agent responsible for delivering it to the intended recipient, you are hereby notified that you have received this document in error and that any review, dissemination, distribution, or copying of this message is strictly prohibited. If you have received this communication in error, please notify us immediately by e-mail, and delete the original message.
(ii) The sender confirms that Ranbaxy shall not be responsible if this email message is used for any indecent, unsolicited or illegal purposes, which are in violation of any existing laws and the same shall solely be the responsibility of the sender and that Ranbaxy shall at all times be indemnified of any civil and/ or criminal liabilities or consequences there.