BookmarkSubscribeRSS Feed
vasireddy
Calcite | Level 5

Hi,

 

I am trying to populate the dataset based on the previous selection from a different dataset. How ever, I am not successful doing so. Could you please guide me on this topic.

 

Example: 

Prompt1: User selects the module from dataset1.Based on the module, the xlsheet is uploaded to a dataset2.

Prompt2: Should contain the values of dataset2.

 

proc import datafile=&DD_location. out=SASTEMP.tablelist
DBMS=dlm REPLACE;
GETNAMES=YES;
delimiter=";";
RUN;

But this code should be executed immediatly after selecting the Prompt1. So that, in Prompt2 I could use the tablelist.

 

Thanking you.

 

Kind regards,
Ajay

 

 

1 REPLY 1
Cynthia_sas
Diamond | Level 26
Hi:
If you are generate dynamic prompts for a SAS Stored Process, then this should be posted to the Stored Process Forum.
cynthia

hackathon24-white-horiz.png

The 2025 SAS Hackathon has begun!

It's finally time to hack! Remember to visit the SAS Hacker's Hub regularly for news and updates.

Latest Updates

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.

SAS Training: Just a Click Away

 Ready to level-up your skills? Choose your own adventure.

Browse our catalog!

Discussion stats
  • 1 reply
  • 1342 views
  • 0 likes
  • 2 in conversation