Why MCOMPILENOTE option doesn't work on my computer?

Reply
Contributor
Posts: 68

Why MCOMPILENOTE option doesn't work on my computer?

Hi guys, I'm learning SAS and was trying to test the code below:

options mcompilenote=all;

%macro mymacro;

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.

%macr

SAS Super FREQ
Posts: 8,820

Re: Why MCOMPILENOTE option doesn't work on my computer?


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.

cynthia

** My code;

options mcompilenote=all;

   

%macro mymac;
%put ------> today is &sysdate9;
%mend mymac;

  

%mymac


use_mcompilenote.png
Ask a Question
Discussion stats
  • 1 reply
  • 153 views
  • 0 likes
  • 2 in conversation