<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic Re: Syntax error and XU supervisor failure in SAS Programming</title>
    <link>https://communities.sas.com/t5/SAS-Programming/Syntax-error-and-XU-supervisor-failure/m-p/35203#M6945</link>
    <description>The code works in SAS 9.1.&lt;BR /&gt;
This appears to be a EG issue.&lt;BR /&gt;
Has anyone solved this issue in EG?&lt;BR /&gt;
Thank you.</description>
    <pubDate>Mon, 28 Dec 2009 20:17:52 GMT</pubDate>
    <dc:creator>deleted_user</dc:creator>
    <dc:date>2009-12-28T20:17:52Z</dc:date>
    <item>
      <title>Syntax error and XU supervisor failure</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Syntax-error-and-XU-supervisor-failure/m-p/35202#M6944</link>
      <description>I received this error:&lt;BR /&gt;
&lt;BR /&gt;
34         %window start&lt;BR /&gt;
35         #4 @22 'Building Drilldown Capabilities Dynamically in SAS Output using Base SAS' COLOR = BLUE attr = underline&lt;BR /&gt;
36         #9 @10 'Are we doing Crosstab or One way Frequency?(1-One way Freq, 2-Crosstab)' COLOR = RED @90 FRQ 2&lt;BR /&gt;
37         attr=underline&lt;BR /&gt;
38         color=RED REQUIRED=YES&lt;BR /&gt;
39         14 @10 'Press ENTER to continue' COLOR = RED;&lt;BR /&gt;
           __&lt;BR /&gt;
           22&lt;BR /&gt;
ERROR: %WINDOW statement not processed due to errors.&lt;BR /&gt;
ERROR 22-322: Syntax error, expecting one of the following: a name, #, +, @.  &lt;BR /&gt;
&lt;BR /&gt;
40         %display start;&lt;BR /&gt;
ERROR: Unable to open window macro file START.&lt;BR /&gt;
&lt;BR /&gt;
&lt;BR /&gt;
After running this code:&lt;BR /&gt;
&lt;BR /&gt;
%let PROJECT=SUGI2009;&lt;BR /&gt;
%let dataset=STUDENT;&lt;BR /&gt;
%let path=C:\Documents and Settings\test\SAS\HTML\;&lt;BR /&gt;
libname dsn ".";&lt;BR /&gt;
%MACRO RemoveFiles;&lt;BR /&gt;
x del "&amp;amp;path\html\*.html";&lt;BR /&gt;
%MEND;&lt;BR /&gt;
%RemoveFiles;&lt;BR /&gt;
%window start&lt;BR /&gt;
#4 @22 'Building Drilldown Capabilities Dynamically in SAS Output using Base SAS' COLOR = BLUE attr = underline&lt;BR /&gt;
#9 @10 'Are we doing Crosstab or One way Frequency?(1-One way Freq, 2-Crosstab)' COLOR = RED @90 FRQ 2 &lt;BR /&gt;
attr=underline&lt;BR /&gt;
color=RED REQUIRED=YES&lt;BR /&gt;
14 @10 'Press ENTER to continue' COLOR = RED;&lt;BR /&gt;
%display start;&lt;BR /&gt;
&lt;BR /&gt;
I tried changing "14" to "#14 @10 'Press ENTER to continue' COLOR = RED;" and got this error:&lt;BR /&gt;
ERROR: The MACRO windowing environment cannot be initialized due to a XU supervisor failure.&lt;BR /&gt;
&lt;BR /&gt;
I'm able to use the "X Command" (ie "XCMD The X Command is valid in this SAS session") &lt;BR /&gt;
Any suggestions? Thank you.</description>
      <pubDate>Mon, 28 Dec 2009 20:11:56 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Syntax-error-and-XU-supervisor-failure/m-p/35202#M6944</guid>
      <dc:creator>deleted_user</dc:creator>
      <dc:date>2009-12-28T20:11:56Z</dc:date>
    </item>
    <item>
      <title>Re: Syntax error and XU supervisor failure</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Syntax-error-and-XU-supervisor-failure/m-p/35203#M6945</link>
      <description>The code works in SAS 9.1.&lt;BR /&gt;
This appears to be a EG issue.&lt;BR /&gt;
Has anyone solved this issue in EG?&lt;BR /&gt;
Thank you.</description>
      <pubDate>Mon, 28 Dec 2009 20:17:52 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Syntax-error-and-XU-supervisor-failure/m-p/35203#M6945</guid>
      <dc:creator>deleted_user</dc:creator>
      <dc:date>2009-12-28T20:17:52Z</dc:date>
    </item>
    <item>
      <title>Re: Syntax error and XU supervisor failure</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Syntax-error-and-XU-supervisor-failure/m-p/35204#M6946</link>
      <description>Suggest you open a track with SAS technical support in order to be best served with your problem symptom, as explained.&lt;BR /&gt;
&lt;BR /&gt;
Scott Barry&lt;BR /&gt;
SBBWorks, Inc.</description>
      <pubDate>Mon, 28 Dec 2009 20:27:25 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Syntax-error-and-XU-supervisor-failure/m-p/35204#M6946</guid>
      <dc:creator>sbb</dc:creator>
      <dc:date>2009-12-28T20:27:25Z</dc:date>
    </item>
    <item>
      <title>Re: Syntax error and XU supervisor failure</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Syntax-error-and-XU-supervisor-failure/m-p/35205#M6947</link>
      <description>Hi:&lt;BR /&gt;
  For information about the X command and EG, see this posting:&lt;BR /&gt;
&lt;A href="http://blogs.sas.com/sasdummy/index.php?/archives/136-Using-the-X-and-SYSTASK-commands-from-SAS-Enterprise-Guide.html" target="_blank"&gt;http://blogs.sas.com/sasdummy/index.php?/archives/136-Using-the-X-and-SYSTASK-commands-from-SAS-Enterprise-Guide.html&lt;/A&gt;&lt;BR /&gt;
&lt;BR /&gt;
  I do not believe that you can run %WINDOW commands on EG either, because EG is a "headless" client application -- that is -- all program code that you submit will be submitted in "batch" mode. %WINDOW is meant to pop open a window in a local SAS/Display Manager session. &lt;BR /&gt;
 &lt;BR /&gt;
  This SAS presents summary (on page 7):&lt;BR /&gt;
&lt;A href="http://support.sas.com/rnd/papers/sugi31/egprogrammers.pdf" target="_blank"&gt;http://support.sas.com/rnd/papers/sugi31/egprogrammers.pdf&lt;/A&gt;&lt;BR /&gt;
 says: &lt;B&gt;&lt;BR /&gt;
EG does not support SAS AF, FSP, Insight, or SCL &lt;/B&gt;&lt;BR /&gt;
 which means that Display Manager features like the VAR, CAT, LIB and KEYS windows won't "pop" and can't be invoked. I thought %WINDOW windows fell into this same category. You'd have to check with Tech Support to verify that %WINDOW won't work in an EG environment.&lt;BR /&gt;
 &lt;BR /&gt;
  When you use EG, if you want to prompt a user for parameters needed to run a program or task, EG has the Parameter Manager, which is designed for this purpose. The advantage of using EG Parameters and the Parameter Manager is that this kind of project could easily be turned into a stored process, whereas a project or program that used %WINDOW could not, as easily, be turned into a stored process.&lt;BR /&gt;
 &lt;BR /&gt;
cynthia</description>
      <pubDate>Mon, 28 Dec 2009 20:33:25 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Syntax-error-and-XU-supervisor-failure/m-p/35205#M6947</guid>
      <dc:creator>Cynthia_sas</dc:creator>
      <dc:date>2009-12-28T20:33:25Z</dc:date>
    </item>
  </channel>
</rss>

