Desktop productivity for business analysts and programmers

EG 4.1, SAS an macros

Not applicable
Posts: 0

EG 4.1, SAS an macros

I am having problems while running macros and there is still a code to be corrected. Once I stop the running macro in EG and correct the code it won't run again, but I have to exit EG 4.1 and then start it again so the macro works. Does anyone have a similar problem or know a solution to this. It seems to me that the old macro stays in memory and does not recognize and generates a conflict with the new corrected macro.

Super Contributor
Posts: 260

Re: EG 4.1, SAS an macros

Posted in reply to deleted_user
Your guess is correct : SAS stores a list of "bad macros", those who did not run correctly on the first try. Once the macro program is on the list, it can only be removed by closing the SAS session (in your case, exit EG and restart).
BUT there is a way to tell SAS not to check the list when you run a macro :


Just type that at the beginning of the program, and that should solve your problems. (At least I hope so.)

Not applicable
Posts: 0

Re: EG 4.1, SAS and macros

Dear Olivier,

Thanks a lot for your prompt reply. Life seems to be much easier now.

Kind regards,
Ask a Question
Discussion stats
  • 2 replies
  • 2 in conversation