楼主: bobguy
2459 2

如何给sasmacr文件加密 with SAS v9.2 [推广有奖]

学科带头人

7%

还不是VIP/贵宾

-

威望
0
论坛币
14187 个
通用积分
28.9279
学术水平
344 点
热心指数
363 点
信用等级
228 点
经验
104882 点
帖子
1846
精华
0
在线时间
1608 小时
注册时间
2008-7-18
最后登录
2019-3-8

中级热心勋章

+2 论坛币
k人 参与回答

经管之家送您一份

应届毕业生专属福利!

求职就业群
赵安豆老师微信:zhaoandou666

经管之家联合CDA

送您一个全额奖学金名额~ !

感谢您参与论坛问题回答

经管之家送您两个论坛币!

+2 论坛币
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
二维码

扫码加我 拉你入群

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

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

关键词:sasmacr 文件加密 With Mac acr 文件 SAS sasmacr

沙发
sweet2m 发表于 2010-2-2 07:59:22 |只看作者 |坛友微信交流群
http://www.pinggu.org/bbs/thread-447271-1-1.html
看看这个帖子里面有你要的不

使用道具

藤椅
bobguy 发表于 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.

使用道具

您需要登录后才可以回帖 登录 | 我要注册

本版微信群
加好友,备注cda
拉您进交流群

京ICP备16021002-2号 京B2-20170662号 京公网安备 11010802022788号 论坛法律顾问:王进律师 知识产权保护声明   免责及隐私声明

GMT+8, 2024-4-30 15:06