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!

sas-innovate-2026-white.png



April 27 – 30 | Gaylord Texan | Grapevine, Texas

Registration is open

Walk in ready to learn. Walk out ready to deliver. This is the data and AI conference you can't afford to miss.
Register now and lock in 2025 pricing—just $495!

Register now

Develop Code with SAS Studio

Get started using SAS Studio to write, run and debug your SAS programs.

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
  • 3522 views
  • 2 likes
  • 3 in conversation