BookmarkSubscribeRSS Feed
bendsteel6
Obsidian | Level 7

Is there a way to create a macro variable in a query builder node (while building a computed column) using the "INTO:" syntax.  Or, is there another way to do it?  If not, should this be reviewed for the next version?  I'm using SAS EG 6.1 (running SAS 9.2 TS2M3).

 

Thanks

1 REPLY 1
ChrisHemedinger
Community Manager

The EG Query Builder does not allow you to funnel results INTO a macro var.  That would be a cool capability, but it's a different use case than most of the scenarios that the Query Builder supports today (making new tables).

 

Only single-value result sets, or result sets that generated a straight list of values (for a range of macro vars) would make sense for this case.

SAS For Dummies 3rd Edition! Check out the new edition, covering SAS 9.4, SAS Viya, and all of the modern ways to use SAS!

hackathon24-white-horiz.png

The 2025 SAS Hackathon Kicks Off on June 11!

Watch the live Hackathon Kickoff to get all the essential information about the SAS Hackathon—including how to join, how to participate, and expert tips for success.

YouTube LinkedIn

Creating Custom Steps in SAS Studio

Check out this tutorial series to learn how to build your own steps in SAS Studio.

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
  • 1 reply
  • 1933 views
  • 1 like
  • 2 in conversation