DATA Step, Macro, Functions and more

How to block access to the code with a password

Reply
Occasional Contributor
Posts: 8

How to block access to the code with a password

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!
Super User
Posts: 3,105

Re: How to block access to the code with a password

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.
Occasional Contributor
Posts: 8

Re: How to block access to the code with a password

Hi SASKiwi,

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

Many thanks for sharing your knowledge!

Mike.
Occasional Contributor
Posts: 12

Re: How to block access to the code with a password

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!
Ask a Question
Discussion stats
  • 3 replies
  • 146 views
  • 0 likes
  • 3 in conversation