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!

sas-innovate-2026-white.png



April 27 – 30 | Gaylord Texan | Grapevine, Texas

Registration is open

Walk in ready to learn. Walk out ready to deliver. This is the data and AI conference you can't afford to miss.
Register now and lock in 2025 pricing—just $495!

Register now

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