<?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: DDE from within EG doesn't work? in SAS Enterprise Guide</title>
    <link>https://communities.sas.com/t5/SAS-Enterprise-Guide/DDE-from-within-EG-doesn-t-work/m-p/35905#M4483</link>
    <description>Or try this approach:&lt;BR /&gt;
&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;
Chris</description>
    <pubDate>Thu, 18 Nov 2010 21:30:05 GMT</pubDate>
    <dc:creator>ChrisHemedinger</dc:creator>
    <dc:date>2010-11-18T21:30:05Z</dc:date>
    <item>
      <title>DDE from within EG doesn't work?</title>
      <link>https://communities.sas.com/t5/SAS-Enterprise-Guide/DDE-from-within-EG-doesn-t-work/m-p/35903#M4481</link>
      <description>I'm using DDE to write to an Excel file. The code works fine from within Base &lt;BR /&gt;
SAS and with batch submit but won't run from within Enterprise Guide. I get the following error:&lt;BR /&gt;
&lt;BR /&gt;
16         * start Excel;&lt;BR /&gt;
17         options noxwait noxsync;&lt;BR /&gt;
ERROR: Shell escape is not valid in this SAS session.&lt;BR /&gt;
18         x "'&amp;amp;req_dir\R100488 Template.xls'"&lt;BR /&gt;
18       !                                    ;&lt;BR /&gt;
19         &lt;BR /&gt;
20         filename excel1 dde "Excel|&amp;amp;req_dir\[R100488 Template.xls]Table 1!R4C1:R11C6" notab&lt;BR /&gt;
20       ! recfm=v lrecl=32000;&lt;BR /&gt;
ERROR: Insufficient authorization to access DDE.&lt;BR /&gt;
ERROR: Error in the FILENAME statement.&lt;BR /&gt;
21         data _null_;&lt;BR /&gt;
22            set QC.All_Tabdata;&lt;BR /&gt;
23            file excel1;&lt;BR /&gt;
24            put Any_2795 (Any_2796 Any_2900 Count Percent) ('09'x);&lt;BR /&gt;
25         run;&lt;BR /&gt;
&lt;BR /&gt;
Does DDE not work from within EG?&lt;BR /&gt;
&lt;BR /&gt;
Jeff</description>
      <pubDate>Thu, 18 Nov 2010 15:12:58 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Enterprise-Guide/DDE-from-within-EG-doesn-t-work/m-p/35903#M4481</guid>
      <dc:creator>deleted_user</dc:creator>
      <dc:date>2010-11-18T15:12:58Z</dc:date>
    </item>
    <item>
      <title>Re: DDE from within EG doesn't work?</title>
      <link>https://communities.sas.com/t5/SAS-Enterprise-Guide/DDE-from-within-EG-doesn-t-work/m-p/35904#M4482</link>
      <description>by default, this ability is turned off. Runnig Shell commands on a Server is to avoided. &lt;BR /&gt;
&lt;BR /&gt;
However, with you local server, you need to change the registry. &lt;BR /&gt;
Cut and paste what you see below into a text file, call if Xcom.reg, and import this into your Reg my clicking the file. (There shold be three lines with text). &lt;BR /&gt;
&lt;BR /&gt;
Or use regEdit, Back up your registry before modifiing in all cases. &lt;BR /&gt;
This works with EG up to 4.1, as far as I know. &lt;BR /&gt;
&lt;BR /&gt;
Good luck&lt;BR /&gt;
&lt;BR /&gt;
  Mike&lt;BR /&gt;
&lt;BR /&gt;
&lt;BR /&gt;
Windows Registry Editor Version 5.00&lt;BR /&gt;
&lt;BR /&gt;
[HKEY_CLASSES_ROOT\CLSID\{440196D4-90F0-11D0-9F41-00A024BB830C}\LocalServer32]&lt;BR /&gt;
@="C:\\PROGRA~1\\SAS\\SAS9~1.1\\SAS.EXE -config \"C:\\Program Files\\SAS\\SAS 9.1\\sasv9.cfg\"  -objectserver -nologo -noterminal -xcmd"</description>
      <pubDate>Thu, 18 Nov 2010 21:06:45 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Enterprise-Guide/DDE-from-within-EG-doesn-t-work/m-p/35904#M4482</guid>
      <dc:creator>MikeWhit</dc:creator>
      <dc:date>2010-11-18T21:06:45Z</dc:date>
    </item>
    <item>
      <title>Re: DDE from within EG doesn't work?</title>
      <link>https://communities.sas.com/t5/SAS-Enterprise-Guide/DDE-from-within-EG-doesn-t-work/m-p/35905#M4483</link>
      <description>Or try this approach:&lt;BR /&gt;
&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;
Chris</description>
      <pubDate>Thu, 18 Nov 2010 21:30:05 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Enterprise-Guide/DDE-from-within-EG-doesn-t-work/m-p/35905#M4483</guid>
      <dc:creator>ChrisHemedinger</dc:creator>
      <dc:date>2010-11-18T21:30:05Z</dc:date>
    </item>
  </channel>
</rss>

