I'm trying to use SAS macro language on my company's SAS Server. The rest of the (SAS-base) code works fine, but macros don't. Even a simple %let causes an error (this is the first line in the program):
5789 %let pgm = XXX ;
-
180
ERROR 180-322: Statement is not valid or it is used out of proper order
I have checked the system options under tools and the 'macro' option is set to 1.
Anybody know how to get macros working properly?
Thanks :)