Write and run SAS programs in your web browser

How to use %window in SAS University Edition

Accepted Solution Solved
Reply
Occasional Contributor
Posts: 5
Accepted Solution

How to use %window in SAS University Edition

Hi,

 

I'm using SAS University Edition to study. As guided in support.sas.com , I copied then run this code

data _null_;
   window start
          #9  @26 'WELCOME TO THE SAS SYSTEM'
                  color=black
          #12  @19 'THIS PROGRAM CREATES'
          #12  @40 'TWO SAS DATA SETS'
          #14 @26 'AND USES THREE PROCEDURES'
          #18 @27 'Press ENTER to continue';
    display start;
    stop;
run;

 then it comes up with this error message: "ERROR: The DATA STEP windowing environment cannot be initialized due to a XU supervisor failure". So, is it not available in SAS University Edition which was installed in virtual machine ?

 


Accepted Solutions
Solution
‎12-06-2017 03:06 AM
Super User
Posts: 3,769

Re: How to use %window in SAS University Edition

[ Edited ]
Posted in reply to Crit_Viet

%WINDOW is a legacy technology only available with a Foundation / Base SAS install on a PC. I believe there is an alternative way in SAS Studio / UE to enter options into your programs using HTML forms. I'll try to locate an example.

 

This link should help: http://support.sas.com/software/products/sas-studio/faq/windowsmacro.htm

 

User interfaces can be built in custom tasks. I'm assuming these will work in SAS UE. Has anyone tried it?

View solution in original post


All Replies
Solution
‎12-06-2017 03:06 AM
Super User
Posts: 3,769

Re: How to use %window in SAS University Edition

[ Edited ]
Posted in reply to Crit_Viet

%WINDOW is a legacy technology only available with a Foundation / Base SAS install on a PC. I believe there is an alternative way in SAS Studio / UE to enter options into your programs using HTML forms. I'll try to locate an example.

 

This link should help: http://support.sas.com/software/products/sas-studio/faq/windowsmacro.htm

 

User interfaces can be built in custom tasks. I'm assuming these will work in SAS UE. Has anyone tried it?

Occasional Contributor
Posts: 5

Re: How to use %window in SAS University Edition

Many thanks with appreciation Smiley Happy I will learn to use task instead of %window to build UI

Highlighted
Super User
Posts: 22,857

Re: How to use %window in SAS University Edition

Posted in reply to Crit_Viet

There is a series of posts on here, called 'Tuesday Tasks' that demonstrate examples of custom tasks.

☑ This topic is solved.

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

Discussion stats
  • 3 replies
  • 211 views
  • 1 like
  • 3 in conversation