DATA Step, Macro, Functions and more

Read-only macro variables

Valued Guide
Posts: 580

Read-only macro variables


Is it possible to create read only macro variables?

Right now some global macro variables are created in the configuration files. Unfortunately those variables can me modified by all users, causing some trouble when it happens in a stored process ...

Any ideas?

Valued Guide
Posts: 653

Read-only macro variables

Posted in reply to andreas_lds

Unfortunately not Smiley Sad

Eric Sun and I looked into a number of protection issues not only for the macro variables, but also for the macros themselves.  We were able to come up with a few work arounds, but protecting the variables themselves is still not possible.  See the paper at:

Ask a Question
Discussion stats
  • 1 reply
  • 2 in conversation