Write and run SAS programs in your web browser

Prompts or Display Messages

Accepted Solution Solved
Reply
Occasional Contributor
Posts: 14
Accepted Solution

Prompts or Display Messages

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?


Accepted Solutions
Solution
‎03-11-2016 10:40 AM
SAS Employee
Posts: 147

Re: Prompts or Display Messages

%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


All Replies
Super User
Posts: 19,157

Re: Prompts or Display Messages

Is that just for practice? 

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

Occasional Contributor
Posts: 14

Re: Prompts or Display Messages

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

Solution
‎03-11-2016 10:40 AM
SAS Employee
Posts: 147

Re: Prompts or Display Messages

%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!

☑ This topic is solved.

Need further help from the community? Please ask a new question.

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