BookmarkSubscribeRSS Feed
Mike_Davis
Fluorite | Level 6

Hello All

How to create a simple panel(like a GUI) with input area and button to assign parameters ,then after input the dataset's name('sashelp.class') and sex("F") then after push the button,we can do the follow things:

1,print sashelp.class to output

2 only print where sex='F'

what means after we input the parameter and push the button we can do the same things as run the SAS code below:

proc print data=sashelp.class;

where sex='F';

run;


Thanks!

2 REPLIES 2
Ksharp
Super User

Are you using SAS/EG ?

EG has some such capability by using prompt manager tool, which is actually some macro variables manager tool.

And That is good if you are familiar with SAS/AF ,It looks like the best way for you situation .

Ksharp

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

What is Bayesian Analysis?

Learn the difference between classical and Bayesian statistical approaches and see a few PROC examples to perform Bayesian analysis in this video.

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
  • 2 replies
  • 1170 views
  • 6 likes
  • 3 in conversation