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

Dear all,

 

When I use %WINDOW Macro Statement in SAS EG, following error message has been noticed:

ERROR: The MACRO windowing environment cannot be initialized due to a XU supervisor failure.

 

While doing some research, I came to know that %WINDOW Macro Statement doesn't work in SAS EG. I have 2 questions:

1) Is there any official page where It is written that SAS EG doesn't support %WINDOW Macro Statement

2) Is there any alternate way to achieve the same result

1 ACCEPTED SOLUTION

Accepted Solutions
Cynthia_sas
SAS Super FREQ

Hi:  This Tech Support note explains that Display Mansger commands are not available in EG: http://support.sas.com/kb/11/056.html .

 

  However, EG has the Prompt Manager and prompting interface that allows a developer the ability to prompt the user for input without using %WINDOW. The value that the user selects is assigned to a macro variable. This paper has an example: http://support.sas.com/resources/papers/proceedings10/036-2010.pdf (although it features an older version of EG, the basic functionality is still the same) and this paper too: https://support.sas.com/resources/papers/proceedings13/120-2013.pdf (although the Prompt Manager is not the main focus of this Macro Basics paper).

 

Hope this helps,

 

Cynthia

View solution in original post

3 REPLIES 3
Tom
Super User Tom
Super User

The %WINDOW and WINDOW statements are features of SAS Display Manager.  If you are using Enterprise Guide then you are not using Display Manager.

Enterprise Guide has Prompts instead to collecting user input.

Cynthia_sas
SAS Super FREQ

Hi:  This Tech Support note explains that Display Mansger commands are not available in EG: http://support.sas.com/kb/11/056.html .

 

  However, EG has the Prompt Manager and prompting interface that allows a developer the ability to prompt the user for input without using %WINDOW. The value that the user selects is assigned to a macro variable. This paper has an example: http://support.sas.com/resources/papers/proceedings10/036-2010.pdf (although it features an older version of EG, the basic functionality is still the same) and this paper too: https://support.sas.com/resources/papers/proceedings13/120-2013.pdf (although the Prompt Manager is not the main focus of this Macro Basics paper).

 

Hope this helps,

 

Cynthia

sumitpratap
Obsidian | Level 7

Thanks for quick reply.

SAS Innovate 2025: Register Now

Registration is now open for SAS Innovate 2025 , our biggest and most exciting global event of the year! Join us in Orlando, FL, May 6-9.
Sign up by Dec. 31 to get the 2024 rate of just $495.
Register now!

Mastering the WHERE Clause in PROC SQL

SAS' Charu Shankar shares her PROC SQL expertise by showing you how to master the WHERE clause using real winter weather data.

Find more tutorials on the SAS Users YouTube channel.

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