Hi Larry, I've been using the SAS macro library for a couple of weeks. A few small headaches along the way, but I've been able to resolve them. However, I ran into a problem tonight that I would like a little help with. Now that I know how to securely compile my code, I am trying to secure more programs so that I can distribute them to my students. Recently, I was working with the following code. In order to keep my program short, I am referring my source code, which is located in separate files. The problem with this is that students will have a different file/folder structure on their computers. Hence, the code fails. I know that I can simply paste the actual code inside the macros. However, since I am trying to build a library of macros, over time, sorting through all the pages of code will be cumbersome. Do you have any suggestions for resolving this? best, Cristian %Let Loc1=E:\Ohio State University\Teaching\Introduction to Educational Measurement\Fall 2012\; options mstored sasmstore=mylib; libname mylib "&Loc1\Secure macros\32-bit OS"; %macro DiscreteCI(DS=,Var=,alpha=,popN=)/store secure; /* This macro is encrypted */ ods html close; ods listing; OPTIONS nodate NONUMBER nonotes nosource errors=0 NOPRINTMSGLIST linesize=102 pagesize=62; * Abbreviate size of log file ; %Include "&Loc1\Secure macros\Source macro code\Median CI for a single discrete variable.sas" ; /* Run external SAS code */ %mend DiscreteCI; %macro ContinuousCI(DS=,Var=,alpha=,popN=)/store secure; /* This macro is encrypted */ ods html close; ods listing; OPTIONS nodate NONUMBER nonotes nosource errors=0 NOPRINTMSGLIST linesize=102 pagesize=62; * Abbreviate size of log file ; %Include "&Loc1\Secure macros\Source macro code\Median CI for a single continuous variable.sas" ; /* Run external SAS code */ %mend ContinuousCI;
... View more