BookmarkSubscribeRSS Feed
🔒 This topic is solved and locked. Need further help from the community? Please sign in and ask a new question.
Gayle
Quartz | Level 8

thank you!  I pared it down and now I seem to be getting what I expect.  I had symput in the macro and I guess I was unclear on how it works , removing it helped

Tom
Super User Tom
Super User

There is no way for the macro to return anything to the current data step since the macro will not even start running until after the data step finishes running.

ballardw
Super User

Just what are those macros supposed to accomplish?

Without having the definition of the macros it may be that you also have a scope issue of expecting a macro variable to be available outside of the macro using/creating it but is only a local macro variable.

Gayle
Quartz | Level 8
I made the variable global

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
  • 18 replies
  • 1400 views
  • 6 likes
  • 6 in conversation