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
SAS Super FREQ
Hi:
If you are generate dynamic prompts for a SAS Stored Process, then this should be posted to the Stored Process Forum.
cynthia

SAS Innovate 2025: Register Now

Registration is now open for SAS Innovate 2025 , our biggest and most exciting global event of the year! Join us in Orlando, FL, May 6-9.
Sign up by Dec. 31 to get the 2024 rate of just $495.
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.

SAS Training: Just a Click Away

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

Browse our catalog!

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