BookmarkSubscribeRSS Feed
cjohnson
Obsidian | Level 7
I am trying out some sample code to display a window and getting a strange error. I am running SAS 9.1 in EG 4.1. Any help would be greatly appreciated.

%macro test ();
%window welcome color=white
#5 @28 'Welcome to SAS.' attr=highlight
color=blue
#7 @15
"You are executing Release &sysver on &sysday, &sysdate.."
#12 @29 'Press ENTER to continue.';
%display welcome;
%mend TEST;

%test();

ERROR: The MACRO windowing environment cannot be initialized due to a XU supervisor failure.
Christopher Johnson
www.codeitmagazine.com
1 REPLY 1
Cynthia_sas
SAS Super FREQ
Hi:
I do not believe that you can "pop" any kind of interactive window in SAS Enterprise Guide. For example, the PROC REPORT interactive window or the VAR window will not work in EG, although they do work in an interactive Display Manager session. The reason that these methods do not work in an EG session is that EG submits code to the SAS server in "batch" mode -- it doesn't matter whether SAS is on your machine or on a server someplace -- all EG code is submitted in batch mode and there are no interactive windows in batch mode. It is as though you are doing a remote submit to a server. This note explains that you cannot use %WINDOW under these circumstances:
http://support.sas.com/kb/10/201.html

cynthia

sas-innovate-2024.png

Available on demand!

Missed SAS Innovate Las Vegas? Watch all the action for free! View the keynotes, general sessions and 22 breakouts on demand.

 

Register now!

What is Bayesian Analysis?

Learn the difference between classical and Bayesian statistical approaches and see a few PROC examples to perform Bayesian analysis in this video.

Find more tutorials on the SAS Users YouTube channel.

Click image to register for webinarClick image to register for webinar

Classroom Training Available!

Select SAS Training centers are offering in-person courses. View upcoming courses for:

View all other training opportunities.

Discussion stats
  • 1 reply
  • 3916 views
  • 1 like
  • 2 in conversation