<?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: Resolving 2 consecutive macro variables with a space in SAS Programming</title>
    <link>https://communities.sas.com/t5/SAS-Programming/Resolving-2-consecutive-macro-variables-with-a-space/m-p/371894#M88852</link>
    <description>Hi thanks --&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;I am not getting a space between 'Pharm' and '123'&lt;BR /&gt;&lt;BR /&gt;Thanks &lt;span class="lia-unicode-emoji" title=":slightly_smiling_face:"&gt;🙂&lt;/span&gt;&lt;BR /&gt;</description>
    <pubDate>Thu, 29 Jun 2017 20:32:49 GMT</pubDate>
    <dc:creator>NJGIRL</dc:creator>
    <dc:date>2017-06-29T20:32:49Z</dc:date>
    <item>
      <title>Resolving 2 consecutive macro variables with a space</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Resolving-2-consecutive-macro-variables-with-a-space/m-p/371887#M88847</link>
      <description>&lt;P&gt;Dear all,&lt;/P&gt;&lt;P&gt;here is an example:&lt;/P&gt;&lt;P&gt;%let client = ABC PHARM;&lt;/P&gt;&lt;P&gt;%let study = 123;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;title1 "&amp;amp;client &amp;amp;study" ;&lt;/P&gt;&lt;P&gt;proc print;&lt;/P&gt;&lt;P&gt;run;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;how do I get a space between client and study in the title? thanks so much!&lt;/P&gt;</description>
      <pubDate>Thu, 29 Jun 2017 20:05:03 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Resolving-2-consecutive-macro-variables-with-a-space/m-p/371887#M88847</guid>
      <dc:creator>NJGIRL</dc:creator>
      <dc:date>2017-06-29T20:05:03Z</dc:date>
    </item>
    <item>
      <title>Re: Resolving 2 consecutive macro variables with a space</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Resolving-2-consecutive-macro-variables-with-a-space/m-p/371888#M88848</link>
      <description>&lt;P&gt;I ran this version of your program and got the result you want:&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;PRE&gt;&lt;CODE class=" language-sas"&gt;%let client = ABC PHARM;
%let study = 123;

title1 "&amp;amp;client &amp;amp;study" ;
proc print data=sashelp.class (obs=1);
run;

&lt;/CODE&gt;&lt;/PRE&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;producing ...&lt;/P&gt;
&lt;PRE&gt;                                                     ABC PHARM 123                         09:41 Thursday, June 29, 2017   3

                                        Obs     Name     Sex    Age    Height    Weight

                                          1    Alfred     M      14      69       112.5

&lt;/PRE&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Do you not get the same results?&lt;/P&gt;</description>
      <pubDate>Thu, 29 Jun 2017 20:10:17 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Resolving-2-consecutive-macro-variables-with-a-space/m-p/371888#M88848</guid>
      <dc:creator>mkeintz</dc:creator>
      <dc:date>2017-06-29T20:10:17Z</dc:date>
    </item>
    <item>
      <title>Re: Resolving 2 consecutive macro variables with a space</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Resolving-2-consecutive-macro-variables-with-a-space/m-p/371894#M88852</link>
      <description>Hi thanks --&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;I am not getting a space between 'Pharm' and '123'&lt;BR /&gt;&lt;BR /&gt;Thanks &lt;span class="lia-unicode-emoji" title=":slightly_smiling_face:"&gt;🙂&lt;/span&gt;&lt;BR /&gt;</description>
      <pubDate>Thu, 29 Jun 2017 20:32:49 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Resolving-2-consecutive-macro-variables-with-a-space/m-p/371894#M88852</guid>
      <dc:creator>NJGIRL</dc:creator>
      <dc:date>2017-06-29T20:32:49Z</dc:date>
    </item>
    <item>
      <title>Re: Resolving 2 consecutive macro variables with a space</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Resolving-2-consecutive-macro-variables-with-a-space/m-p/371906#M88859</link>
      <description>&lt;BLOCKQUOTE&gt;&lt;HR /&gt;@jill1 wrote:&lt;BR /&gt;Hi thanks --&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;I am not getting a space between 'Pharm' and '123'&lt;BR /&gt;&lt;BR /&gt;Thanks &lt;span class="lia-unicode-emoji" title=":slightly_smiling_face:"&gt;🙂&lt;/span&gt;&lt;BR /&gt;&lt;HR /&gt;&lt;/BLOCKQUOTE&gt;
&lt;P&gt;I agree with &lt;a href="https://communities.sas.com/t5/user/viewprofilepage/user-id/31461"&gt;@mkeintz&lt;/a&gt;, I get a space in the title.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;You may have to show the log including and ODS destination and options. If so please post the log in a code box opened using the forum {i} menu icon to prevent the message window from reformatting text.&lt;/P&gt;</description>
      <pubDate>Thu, 29 Jun 2017 20:57:11 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Resolving-2-consecutive-macro-variables-with-a-space/m-p/371906#M88859</guid>
      <dc:creator>ballardw</dc:creator>
      <dc:date>2017-06-29T20:57:11Z</dc:date>
    </item>
    <item>
      <title>Re: Resolving 2 consecutive macro variables with a space</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Resolving-2-consecutive-macro-variables-with-a-space/m-p/371916#M88866</link>
      <description>&lt;P&gt;I can't imagine how it could be that you don't get a space.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Just for curiosity, and&amp;nbsp;to remove ODS from the process, &amp;nbsp;what to you get from:&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;PRE&gt;&lt;CODE class=" language-sas"&gt;%let client = ABC PHARM;
%let study = 123;
title1 "&amp;amp;client &amp;amp;study" ;

proc sql;
  create table mytitle as 
  select text 
  from dictionary.titles;
quit;


data _null_;
  set mytitle;
  if text="ABC PHARM 123" then do;
    put "Confirmed: title has a space! " text=;
  end;
  else do;
    put "ERROR: No space! " text=;
  end;
run;&lt;/CODE&gt;&lt;/PRE&gt;
&lt;P&gt;?&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;In the log, I get:&lt;/P&gt;
&lt;PRE&gt;Confirmed: title has a space! text=ABC PHARM 123
&lt;/PRE&gt;</description>
      <pubDate>Thu, 29 Jun 2017 21:19:35 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Resolving-2-consecutive-macro-variables-with-a-space/m-p/371916#M88866</guid>
      <dc:creator>Quentin</dc:creator>
      <dc:date>2017-06-29T21:19:35Z</dc:date>
    </item>
  </channel>
</rss>

