<?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: quotes for macro variable in SAS Programming</title>
    <link>https://communities.sas.com/t5/SAS-Programming/quotes-for-macro-variable/m-p/72575#M15644</link>
    <description>&amp;gt; With macros, use double quotes.  The SAS Macro&lt;BR /&gt;
&amp;gt; Facility will not look inside of single quotes.&lt;BR /&gt;
&lt;P&gt;&lt;BR /&gt;
Technically, this is too sweeping a statement. You cannot really say that Macro *never* look inside of single quotes as shown on the thread started with &lt;A href="http://www.listserv.uga.edu/cgi-bin/wa?A2=ind0901B&amp;amp;L=sas-l&amp;amp;P=R33845&amp;amp;D=0&amp;amp;H=0&amp;amp;O=T&amp;amp;T=1&amp;amp;m=270408"&gt;this sas-l posting&lt;/A&gt;.&lt;/P&gt;</description>
    <pubDate>Tue, 14 Dec 2010 14:52:16 GMT</pubDate>
    <dc:creator>chang_y_chung_hotmail_com</dc:creator>
    <dc:date>2010-12-14T14:52:16Z</dc:date>
    <item>
      <title>quotes for macro variable</title>
      <link>https://communities.sas.com/t5/SAS-Programming/quotes-for-macro-variable/m-p/72570#M15639</link>
      <description>Where do I put the quotes in order to get this macro variable (ie &amp;amp;date) to work?&lt;BR /&gt;
if (daysum=. and day&amp;lt; *&amp;amp;date.*d) then daysum=0;&lt;BR /&gt;
&lt;BR /&gt;
where * is a single quote mark.&lt;BR /&gt;
where &amp;amp;date can be, for example, 15Sep10.&lt;BR /&gt;
&lt;BR /&gt;
Thank you.</description>
      <pubDate>Wed, 15 Sep 2010 22:36:24 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/quotes-for-macro-variable/m-p/72570#M15639</guid>
      <dc:creator>gzr2mz39</dc:creator>
      <dc:date>2010-09-15T22:36:24Z</dc:date>
    </item>
    <item>
      <title>Re: quotes for macro variable</title>
      <link>https://communities.sas.com/t5/SAS-Programming/quotes-for-macro-variable/m-p/72571#M15640</link>
      <description>Have you tried it with double quotes?&lt;BR /&gt;
&lt;BR /&gt;
Art</description>
      <pubDate>Wed, 15 Sep 2010 22:54:38 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/quotes-for-macro-variable/m-p/72571#M15640</guid>
      <dc:creator>art297</dc:creator>
      <dc:date>2010-09-15T22:54:38Z</dc:date>
    </item>
    <item>
      <title>Re: quotes for macro variable</title>
      <link>https://communities.sas.com/t5/SAS-Programming/quotes-for-macro-variable/m-p/72572#M15641</link>
      <description>When using macro variables coded as literal constants/data-strings with DATA/PROC code, double-quotes are required for proper resolution.  Also, when debugging your program, code the OPTIONS SYMBOLGEN, also consider this coding for debugging macros and macro variables:&lt;BR /&gt;
&lt;BR /&gt;
OPTIONS SOURCE SOURCE2 MACROGEN SYMBOLGEN MPRINT;&lt;BR /&gt;
&lt;BR /&gt;
Scott Barry&lt;BR /&gt;
SBBWorks, Inc.&lt;BR /&gt;
&lt;BR /&gt;
Suggested Google advanced search argument, this topic / post:&lt;BR /&gt;
&lt;BR /&gt;
macro variable intro site:sas.com</description>
      <pubDate>Wed, 15 Sep 2010 23:15:47 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/quotes-for-macro-variable/m-p/72572#M15641</guid>
      <dc:creator>sbb</dc:creator>
      <dc:date>2010-09-15T23:15:47Z</dc:date>
    </item>
    <item>
      <title>Re: quotes for macro variable</title>
      <link>https://communities.sas.com/t5/SAS-Programming/quotes-for-macro-variable/m-p/72573#M15642</link>
      <description>Double quotes worked. &lt;BR /&gt;
For what ever reason they didn't work the first time I tried.&lt;BR /&gt;
Thanks.</description>
      <pubDate>Thu, 16 Sep 2010 23:33:17 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/quotes-for-macro-variable/m-p/72573#M15642</guid>
      <dc:creator>gzr2mz39</dc:creator>
      <dc:date>2010-09-16T23:33:17Z</dc:date>
    </item>
    <item>
      <title>Re: quotes for macro variable</title>
      <link>https://communities.sas.com/t5/SAS-Programming/quotes-for-macro-variable/m-p/72574#M15643</link>
      <description>With macros, use double quotes.  The SAS Macro Facility will not look inside of single quotes.</description>
      <pubDate>Mon, 13 Dec 2010 15:45:04 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/quotes-for-macro-variable/m-p/72574#M15643</guid>
      <dc:creator>PatrickG</dc:creator>
      <dc:date>2010-12-13T15:45:04Z</dc:date>
    </item>
    <item>
      <title>Re: quotes for macro variable</title>
      <link>https://communities.sas.com/t5/SAS-Programming/quotes-for-macro-variable/m-p/72575#M15644</link>
      <description>&amp;gt; With macros, use double quotes.  The SAS Macro&lt;BR /&gt;
&amp;gt; Facility will not look inside of single quotes.&lt;BR /&gt;
&lt;P&gt;&lt;BR /&gt;
Technically, this is too sweeping a statement. You cannot really say that Macro *never* look inside of single quotes as shown on the thread started with &lt;A href="http://www.listserv.uga.edu/cgi-bin/wa?A2=ind0901B&amp;amp;L=sas-l&amp;amp;P=R33845&amp;amp;D=0&amp;amp;H=0&amp;amp;O=T&amp;amp;T=1&amp;amp;m=270408"&gt;this sas-l posting&lt;/A&gt;.&lt;/P&gt;</description>
      <pubDate>Tue, 14 Dec 2010 14:52:16 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/quotes-for-macro-variable/m-p/72575#M15644</guid>
      <dc:creator>chang_y_chung_hotmail_com</dc:creator>
      <dc:date>2010-12-14T14:52:16Z</dc:date>
    </item>
  </channel>
</rss>

