DATA Step, Macro, Functions and more

SAS executing "old verision" of macro

Reply
Contributor
Posts: 60

SAS executing "old verision" of macro

Is there a way to clear system cache (or how you call it in sas) where sas stores compiled (or not) macros. My SAS seems to execute old version of marco despite including new version before executing.

Frequent Contributor
Posts: 139

SAS executing "old verision" of macro

Please compile the newer version.

Contributor
Posts: 60

SAS executing "old verision" of macro

Posted in reply to manojinpec

I compile it before executing.

Super User
Super User
Posts: 7,039

SAS executing "old verision" of macro

What is your setting for SASAUTOS? Are you using compiled macro catalogs or just pointing to source code directories?

Perhaps you have a search order to search catalog A then B and the old macro definition is compiled into A and you are compiling the new one into B.

Perhaps there is an extra comment or unbalanced quotes in your source code and the new version is not actually getting compiled.

Valued Guide
Posts: 2,177

SAS executing "old verision" of macro

tom12122

have you tried

   option Mrecall ;

Ask a Question
Discussion stats
  • 4 replies
  • 262 views
  • 0 likes
  • 4 in conversation