BookmarkSubscribeRSS Feed
🔒 This topic is solved and locked. Need further help from the community? Please sign in and ask a new question.
bdoug
Obsidian | Level 7

In PC SAS I used %window & %display to display prompts and messages.  Is there a way to do the same from programs running in SAS Studio?

1 ACCEPTED SOLUTION

Accepted Solutions
AmyP_sas
SAS Employee

%WINDOWS and %DISPLAY rely on technology in SAS Display Manager /  PC SAS / SAS Windowing environment (whichever one you happen to call it) so those aren't available in SAS Studio.  However, SAS Studio tasks should get you what you're looking for.  You can create copies of any of the delivered tasks and modify them or start your own tasks from scratch.  A task is just a front end you can build to your SAS code.  On the SAS Studio doc page , take a look at " Writing Your First Custom Task" then "Developer's Guide to Writing Custom Tasks" to dig in to more detail.

 

If there's something you want to do that doesn't seem possible with tasks, please let us know.  We want to continue adding to the task framework and need more good use cases!

View solution in original post

3 REPLIES 3
Reeza
Super User

Is that just for practice? 

Are you using SAS UE or do you have SAS installed on a server somewhere?

bdoug
Obsidian | Level 7

Using Enterprise edition of studio so SAS runs on the server.

AmyP_sas
SAS Employee

%WINDOWS and %DISPLAY rely on technology in SAS Display Manager /  PC SAS / SAS Windowing environment (whichever one you happen to call it) so those aren't available in SAS Studio.  However, SAS Studio tasks should get you what you're looking for.  You can create copies of any of the delivered tasks and modify them or start your own tasks from scratch.  A task is just a front end you can build to your SAS code.  On the SAS Studio doc page , take a look at " Writing Your First Custom Task" then "Developer's Guide to Writing Custom Tasks" to dig in to more detail.

 

If there's something you want to do that doesn't seem possible with tasks, please let us know.  We want to continue adding to the task framework and need more good use cases!

hackathon24-white-horiz.png

2025 SAS Hackathon: There is still time!

Good news: We've extended SAS Hackathon registration until Sept. 12, so you still have time to be part of our biggest event yet – our five-year anniversary!

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.

SAS Training: Just a Click Away

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

Browse our catalog!

Discussion stats
  • 3 replies
  • 3354 views
  • 2 likes
  • 3 in conversation