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: Call for Content

Are you ready for the spotlight? We're accepting content ideas for SAS Innovate 2025 to be held May 6-9 in Orlando, FL. The call is open until September 25. Read more here about why you should contribute and what is in it for you!

Submit your idea!

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.

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
  • 1096 views
  • 0 likes
  • 2 in conversation