<?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 DDE Put is truncating once reaching spaces in Microsoft Integration with SAS</title>
    <link>https://communities.sas.com/t5/Microsoft-Integration-with-SAS/DDE-Put-is-truncating-once-reaching-spaces/m-p/34749#M597</link>
    <description>I am trying to write a sentence including a macro variable and a statistic (col1 in my data) but the sentence is truncated after the first space. ("Form" is just printed)&lt;BR /&gt;
&lt;BR /&gt;
filename &amp;amp;myfile. dde "excel|T1!r&amp;amp;rstart.c1:r&amp;amp;rstart.c1";&lt;BR /&gt;
data _null_;&lt;BR /&gt;
file &amp;amp;myfile.;&lt;BR /&gt;
	set t1_R1;&lt;BR /&gt;
put "Form &amp;amp;frm." ;         /* actually want "'Form &amp;amp;frm. (N=' col1 ')'"*/&lt;BR /&gt;
run;&lt;BR /&gt;
&lt;BR /&gt;
I'm new to DDE (well SAS actually) and am not sure how to avoid this problem. &lt;BR /&gt;
There are no issues when I print col1 or &amp;amp;frm. without spaces.&lt;BR /&gt;
Ideas?</description>
    <pubDate>Wed, 17 Nov 2010 16:00:30 GMT</pubDate>
    <dc:creator>deleted_user</dc:creator>
    <dc:date>2010-11-17T16:00:30Z</dc:date>
    <item>
      <title>DDE Put is truncating once reaching spaces</title>
      <link>https://communities.sas.com/t5/Microsoft-Integration-with-SAS/DDE-Put-is-truncating-once-reaching-spaces/m-p/34749#M597</link>
      <description>I am trying to write a sentence including a macro variable and a statistic (col1 in my data) but the sentence is truncated after the first space. ("Form" is just printed)&lt;BR /&gt;
&lt;BR /&gt;
filename &amp;amp;myfile. dde "excel|T1!r&amp;amp;rstart.c1:r&amp;amp;rstart.c1";&lt;BR /&gt;
data _null_;&lt;BR /&gt;
file &amp;amp;myfile.;&lt;BR /&gt;
	set t1_R1;&lt;BR /&gt;
put "Form &amp;amp;frm." ;         /* actually want "'Form &amp;amp;frm. (N=' col1 ')'"*/&lt;BR /&gt;
run;&lt;BR /&gt;
&lt;BR /&gt;
I'm new to DDE (well SAS actually) and am not sure how to avoid this problem. &lt;BR /&gt;
There are no issues when I print col1 or &amp;amp;frm. without spaces.&lt;BR /&gt;
Ideas?</description>
      <pubDate>Wed, 17 Nov 2010 16:00:30 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Microsoft-Integration-with-SAS/DDE-Put-is-truncating-once-reaching-spaces/m-p/34749#M597</guid>
      <dc:creator>deleted_user</dc:creator>
      <dc:date>2010-11-17T16:00:30Z</dc:date>
    </item>
    <item>
      <title>Re: DDE Put is truncating once reaching spaces</title>
      <link>https://communities.sas.com/t5/Microsoft-Integration-with-SAS/DDE-Put-is-truncating-once-reaching-spaces/m-p/34750#M598</link>
      <description>Greetings.&lt;BR /&gt;
&lt;BR /&gt;
Try notab option.&lt;BR /&gt;
&lt;BR /&gt;
[pre]&lt;BR /&gt;
FILENAME rr DDE "EXCEL|Sheet1!R2C1:R3C2" notab ;&lt;BR /&gt;
%let t=Some string of text;&lt;BR /&gt;
data _NULL_;&lt;BR /&gt;
file rr;&lt;BR /&gt;
  put "&amp;amp;t";&lt;BR /&gt;
 run;&lt;BR /&gt;
[/pre]&lt;BR /&gt;
&lt;BR /&gt;
Oleg.

Message was edited by: Oleg_L</description>
      <pubDate>Thu, 18 Nov 2010 05:57:09 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Microsoft-Integration-with-SAS/DDE-Put-is-truncating-once-reaching-spaces/m-p/34750#M598</guid>
      <dc:creator>Oleg_L</dc:creator>
      <dc:date>2010-11-18T05:57:09Z</dc:date>
    </item>
    <item>
      <title>Re: DDE Put is truncating once reaching spaces</title>
      <link>https://communities.sas.com/t5/Microsoft-Integration-with-SAS/DDE-Put-is-truncating-once-reaching-spaces/m-p/34751#M599</link>
      <description>Thanks so much Oleg! My outputs are perfect now &lt;span class="lia-unicode-emoji" title=":slightly_smiling_face:"&gt;🙂&lt;/span&gt;</description>
      <pubDate>Fri, 19 Nov 2010 18:37:05 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Microsoft-Integration-with-SAS/DDE-Put-is-truncating-once-reaching-spaces/m-p/34751#M599</guid>
      <dc:creator>deleted_user</dc:creator>
      <dc:date>2010-11-19T18:37:05Z</dc:date>
    </item>
  </channel>
</rss>

