<?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: concatinating macro variable in SAS Programming</title>
    <link>https://communities.sas.com/t5/SAS-Programming/concatinating-macro-variable/m-p/472775#M121252</link>
    <description>&lt;PRE&gt;&lt;CODE class=" language-sas"&gt;%let path='c:/users/sourabh/' ;
%let file='online.csv' ;

%let want=%str(%')%sysfunc(dequote(&amp;amp;path))%sysfunc(dequote(&amp;amp;file))%str(%');

%put &amp;amp;want ;&lt;/CODE&gt;&lt;/PRE&gt;</description>
    <pubDate>Sun, 24 Jun 2018 11:00:33 GMT</pubDate>
    <dc:creator>Ksharp</dc:creator>
    <dc:date>2018-06-24T11:00:33Z</dc:date>
    <item>
      <title>concatinating macro variable</title>
      <link>https://communities.sas.com/t5/SAS-Programming/concatinating-macro-variable/m-p/472764#M121248</link>
      <description>i have two macro vatiable as below&lt;BR /&gt;%let path='c:/users/sourabh/'&lt;BR /&gt;%let file='online.csv'&lt;BR /&gt;i need&lt;BR /&gt;'c:/users/sourabh/online.csv'&lt;BR /&gt;kindly suggest how can i achieve dat</description>
      <pubDate>Sun, 24 Jun 2018 07:25:38 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/concatinating-macro-variable/m-p/472764#M121248</guid>
      <dc:creator>sourabhy</dc:creator>
      <dc:date>2018-06-24T07:25:38Z</dc:date>
    </item>
    <item>
      <title>Re: concatinating macro variable</title>
      <link>https://communities.sas.com/t5/SAS-Programming/concatinating-macro-variable/m-p/472765#M121249</link>
      <description>&lt;P&gt;Start by not putting quotes into macro variables, and it is very easy:&lt;/P&gt;
&lt;PRE&gt;&lt;CODE class=" language-sas"&gt;%let path=c:/users/sourabh/;
%let file=online.csv;

%let want=&amp;amp;path.&amp;amp;file.;&lt;/CODE&gt;&lt;/PRE&gt;
&lt;P&gt;Only use (double) quotes where you use the macro variable, eg in a filename statement.&lt;/P&gt;</description>
      <pubDate>Sun, 24 Jun 2018 07:41:06 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/concatinating-macro-variable/m-p/472765#M121249</guid>
      <dc:creator>Kurt_Bremser</dc:creator>
      <dc:date>2018-06-24T07:41:06Z</dc:date>
    </item>
    <item>
      <title>Re: concatinating macro variable</title>
      <link>https://communities.sas.com/t5/SAS-Programming/concatinating-macro-variable/m-p/472775#M121252</link>
      <description>&lt;PRE&gt;&lt;CODE class=" language-sas"&gt;%let path='c:/users/sourabh/' ;
%let file='online.csv' ;

%let want=%str(%')%sysfunc(dequote(&amp;amp;path))%sysfunc(dequote(&amp;amp;file))%str(%');

%put &amp;amp;want ;&lt;/CODE&gt;&lt;/PRE&gt;</description>
      <pubDate>Sun, 24 Jun 2018 11:00:33 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/concatinating-macro-variable/m-p/472775#M121252</guid>
      <dc:creator>Ksharp</dc:creator>
      <dc:date>2018-06-24T11:00:33Z</dc:date>
    </item>
  </channel>
</rss>

