BookmarkSubscribeRSS Feed
paulrockliffe
Obsidian | Level 7

I'm using a Prompt with a Code Node to let a user select a table to run the code on.  I'd like the user to be able to select from a list of all of the tables in the Project, with the Prompt automatically picking up the values to offer to the user.  My code is splitting a table up into a number of smaller tables and will be used across a wide range of projects.

 

Is this possible?

 

I was thinking that there may be a table within SASHELP that contains that information, but I can't find it.  Alternative methods gratefully received.

 

As a follow-on question, if the above is possible I would like to be able to set a second prompt that lets you select one of the columns from the selected table.  I think I can do this using cascading prompts, but again any pointers gratefully received.

 

Thanks!

1 REPLY 1
tomrvincent
Rhodochrosite | Level 12
Load all the tablenames into a metadata table before kicking off the project.

sas-innovate-2024.png

Join us for SAS Innovate April 16-19 at the Aria in Las Vegas. Bring the team and save big with our group pricing for a limited time only.

Pre-conference courses and tutorials are filling up fast and are always a sellout. Register today to reserve your seat.

 

Register now!

SAS Enterprise Guide vs. SAS Studio

What’s the difference between SAS Enterprise Guide and SAS Studio? How are they similar? Just ask SAS’ Danny Modlin.

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
  • 1 reply
  • 1034 views
  • 0 likes
  • 2 in conversation