<?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: xcmd and %window start in SAS Programming</title>
    <link>https://communities.sas.com/t5/SAS-Programming/xcmd-and-window-start/m-p/34387#M6768</link>
    <description>It's a CONFIG setting you will need to control, either allowing or disallowing XCMD.  Refer to the SAS Windows Companion DOC for details.  Also, consider CALL SYSTEM as an alternative.&lt;BR /&gt;
&lt;BR /&gt;
Scott Barry&lt;BR /&gt;
SBBWorks, Inc.</description>
    <pubDate>Wed, 23 Dec 2009 21:10:48 GMT</pubDate>
    <dc:creator>sbb</dc:creator>
    <dc:date>2009-12-23T21:10:48Z</dc:date>
    <item>
      <title>xcmd and %window start</title>
      <link>https://communities.sas.com/t5/SAS-Programming/xcmd-and-window-start/m-p/34386#M6767</link>
      <description>I ran this code:&lt;BR /&gt;
&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 'test' COLOR = BLUE attr = underline&lt;BR /&gt;
#9 @10 'test1' COLOR = RED @90 FRQ 2 attr=underline color=RED REQUIRED = YES 14 @10 'Press ENTER to continue' COLOR = RED;&lt;BR /&gt;
%display start;&lt;BR /&gt;
&lt;BR /&gt;
and received this error:&lt;BR /&gt;
&lt;BR /&gt;
MPRINT(REMOVEFILES):   x del "C:\Documents and Settings\test\html\*.html";&lt;BR /&gt;
WARNING: Shell escape is not valid in this SAS session.&lt;BR /&gt;
14         %RemoveFiles;&lt;BR /&gt;
ERROR 22-322: Syntax error, expecting one of the following: a name, #, +, @.  &lt;BR /&gt;
ERROR: %WINDOW statement not processed due to errors.&lt;BR /&gt;
15         %window start&lt;BR /&gt;
&lt;BR /&gt;
I also ran proc options option=xcmd; run;&lt;BR /&gt;
and got this:&lt;BR /&gt;
&lt;BR /&gt;
 NOXCMD            The X Command is not valid in this SAS session&lt;BR /&gt;
&lt;BR /&gt;
Any ideas?&lt;BR /&gt;
Thank you.</description>
      <pubDate>Wed, 23 Dec 2009 20:36:45 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/xcmd-and-window-start/m-p/34386#M6767</guid>
      <dc:creator>deleted_user</dc:creator>
      <dc:date>2009-12-23T20:36:45Z</dc:date>
    </item>
    <item>
      <title>Re: xcmd and %window start</title>
      <link>https://communities.sas.com/t5/SAS-Programming/xcmd-and-window-start/m-p/34387#M6768</link>
      <description>It's a CONFIG setting you will need to control, either allowing or disallowing XCMD.  Refer to the SAS Windows Companion DOC for details.  Also, consider CALL SYSTEM as an alternative.&lt;BR /&gt;
&lt;BR /&gt;
Scott Barry&lt;BR /&gt;
SBBWorks, Inc.</description>
      <pubDate>Wed, 23 Dec 2009 21:10:48 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/xcmd-and-window-start/m-p/34387#M6768</guid>
      <dc:creator>sbb</dc:creator>
      <dc:date>2009-12-23T21:10:48Z</dc:date>
    </item>
    <item>
      <title>Re: xcmd and %window start</title>
      <link>https://communities.sas.com/t5/SAS-Programming/xcmd-and-window-start/m-p/34388#M6769</link>
      <description>although you are unable to issue system commands while the NOxcmd option is in effect, there is an FDELETE() function. I'm not sure if NOxcmd prevents that function having effect</description>
      <pubDate>Wed, 23 Dec 2009 23:53:34 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/xcmd-and-window-start/m-p/34388#M6769</guid>
      <dc:creator>Peter_C</dc:creator>
      <dc:date>2009-12-23T23:53:34Z</dc:date>
    </item>
  </channel>
</rss>

