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-2024.png

Available on demand!

Missed SAS Innovate Las Vegas? Watch all the action for free! View the keynotes, general sessions and 22 breakouts on demand.

 

Register now!

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.

Click image to register for webinarClick image to register for webinar

Classroom Training Available!

Select SAS Training centers are offering in-person courses. View upcoming courses for:

View all other training opportunities.

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