BookmarkSubscribeRSS Feed
MikeT_
Calcite | Level 5
Hi,

is there a way to block access to the code (scl or af) ?

People can run the program but the code will be display if there provide the right password.

Thanks!
3 REPLIES 3
SASKiwi
PROC Star
Suggest you check out the CATALOG procedure and the COPY statement that allows you to create a copy of your BUILD catalog. With the NOSOURCE and NOEDIT options you can create a copy that doesn't contain SCL source and won't allow editing but will still contain your compiled code.
MikeT_
Calcite | Level 5
Hi SASKiwi,

Thank you for your suggestion. I tried and it works!

Many thanks for sharing your knowledge!

Mike.
monei011
Calcite | Level 5
If you use this method be sure to have a backup of your scl source. You don't want to come back later and find a catalog that contains objects that have been compiled with nosource, and that is the only copy you have!

sas-innovate-wordmark-2025-midnight.png

Register Today!

Join us for SAS Innovate 2025, our biggest and most exciting global event of the year, in Orlando, FL, from May 6-9. Sign up by March 14 for just $795.


Register now!

How to Concatenate Values

Learn how use the CAT functions in SAS to join values from multiple variables into a single value.

Find more tutorials on the SAS Users YouTube channel.

SAS Training: Just a Click Away

 Ready to level-up your skills? Choose your own adventure.

Browse our catalog!

Discussion stats
  • 3 replies
  • 1095 views
  • 0 likes
  • 3 in conversation