07-30-2014 07:00 PM
Hi guys, I'm learning SAS and was trying to test the code below:
However, the result in my SAS log is just the same thing as the code.
A "NOTE: The macro MYMACRO completed compilation without errors." doesn't come out as the book says.
Could anyone help me out with this problem? Thank you.
07-30-2014 07:16 PM
Hi, you did not show all your code. Did you have a %MEND statement? The syntax works for me. See the screen shot. The best approach, if you try my code EXACTLY as written, and it does not work for you, is to open a track with SAS Tech Support.
** My code;
%put ------> today is &sysdate9;