BookmarkSubscribeRSS Feed
Dilani1
Calcite | Level 5

Hi,

I am running a program with a macro, after creating a subset from a raw dataset.

The raw and new datasets are seen in the libraries, but when I run a proc contents or print or freq, the program editor says lines are submitted. No error message in the log, or any message to show success.

No results or output.

What do you think I am doing wrong here, please.

Thank you,

Dilani

2 REPLIES 2
JOL
SAS Employee JOL
SAS Employee

It would be helpful if you provided a sample of your code. Try adding these macro options to display information in the log.

options symbolgen mprint;

Reeza
Super User

Usually happens when there's a bug in the macro code somewhere so it thinks the macro is still being defined - missing %mend for example. 

 

Sharing your code is helpful.

 

Can also try the magic string from here and then re-running your code, though may need a full restart.

https://blogs.sas.com/content/iml/2013/08/19/errors-that-cause-sas-to-freeze.html

SAS Innovate 2025: Save the Date

 SAS Innovate 2025 is scheduled for May 6-9 in Orlando, FL. Sign up to be first to learn about the agenda and registration!

Save the date!

How to Concatenate Values

Learn how use the CAT functions in SAS to join values from multiple variables into a single value.

Find more tutorials on the SAS Users YouTube channel.

SAS Training: Just a Click Away

 Ready to level-up your skills? Choose your own adventure.

Browse our catalog!

Discussion stats
  • 2 replies
  • 1011 views
  • 0 likes
  • 3 in conversation