全部版块 我的主页
论坛 数据科学与人工智能 数据分析与数据科学 SAS专版
2800 2
2010-02-02
The new option(SECURE | NOSECURE) will hide the codes wrapped up within a macro definition.

SECURE | NOSECURE causes the contents of a macro to be encrypted when stored in a stored compiled macro library. This feature enables you to write secure macros that will protect intellectual property that is contained in the macros. The macros are secured using the Encryption Algorithm Manager.
A NOSECURE option has been implemented to aid in the global edit of a source file or library to turn on security (for example, when you are creating several macros that will need to be secure). When creating the macros, use the NOSECURE option. When all macros are completed and ready for production, you can do a global edit and change NOSECURE to SECURE.
If you use the SECURE and SOURCE options on a macro, no output is produced when you use the %COPY statement. The following NOTE is written to the SAS log:
NOTE: The macro %name was compiled with the SECURE option. No output will be produced for this %COPY statement.
STMT

10   LIBNAME test 'c:\downloads';
11   OPTIONS MSTORED SASMSTORE=test;
12   %MACRO test / STORE  SECURE ;
13   *options nomprint nosource;
14
15   DATA A;
16   X=1;
17   RUN;
18   %MEND;
19
20   options mprint;
21   %test

NOTE: The data set WORK.A has 1 observations and 1 variables.
NOTE: DATA statement used (Total process time):
      real time           0.65 seconds
      cpu time            0.03 seconds
二维码

扫码加我 拉你入群

请注明:姓名-公司-职位

以便审核进群资格,未注明则拒绝

全部回复
2010-2-2 07:59:22
http://www.pinggu.org/bbs/thread-447271-1-1.html
看看这个帖子里面有你要的不
二维码

扫码加我 拉你入群

请注明:姓名-公司-职位

以便审核进群资格,未注明则拒绝

2010-2-2 08:42:56
sweet2m 发表于 2010-2-2 07:59
http://www.pinggu.org/bbs/thread-447271-1-1.html
看看这个帖子里面有你要的不
See my comments on that one.
二维码

扫码加我 拉你入群

请注明:姓名-公司-职位

以便审核进群资格,未注明则拒绝

相关推荐
栏目导航
热门文章
推荐文章

说点什么

分享

扫码加好友,拉您进群
各岗位、行业、专业交流群