DATA Step, Macro, Functions and more

Macro does not run

Reply
Frequent Contributor
Posts: 122

Macro does not run

I wrote a macro code. When I ran the code it returned some error. I corrected the error and tried to run it again. The problem is that it does not run. When I checked the log, it simply lists my code again, but not run it. What's the problem? Thanks.

Trusted Advisor
Posts: 1,129

Re: Macro does not run

have you tried to close sas session, start teh session and then run the macro

it happened to me as well, so i followed the above process and it works.

Thanks,

jagadish

Thanks,
Jag
Frequent Contributor
Posts: 122

Re: Macro does not run

Hi jagadish. Yes, it will work if I close the session and open again. I don't want to do that since I have some dataset in the working directory and they are really big. I don't want to rerun them.

Respected Advisor
Posts: 3,124

Re: Macro does not run

Yes, sometimes when doing Macro, DMS hangs. Beside restarting a new SAS session, some may find the following strings helpful, run them all.


*))%*))*/;
;;;;
%mend;
options notes;
run cancel; quit;
proc unk; run;

Frequent Contributor
Posts: 122

Re: Macro does not run

Do you mean run them and then re-run macro? I will definitely try it tomorrow. THanks.

Ask a Question
Discussion stats
  • 4 replies
  • 287 views
  • 6 likes
  • 3 in conversation