<?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: How to apply macro to proc sql ? in SAS Programming</title>
    <link>https://communities.sas.com/t5/SAS-Programming/How-to-apply-macro-to-proc-sql/m-p/599547#M173075</link>
    <description>&lt;P&gt;Please post your&amp;nbsp;&lt;EM&gt;whole&lt;/EM&gt; code. Use the "little running man" icon for posting code.&lt;/P&gt;</description>
    <pubDate>Sat, 26 Oct 2019 17:26:01 GMT</pubDate>
    <dc:creator>Kurt_Bremser</dc:creator>
    <dc:date>2019-10-26T17:26:01Z</dc:date>
    <item>
      <title>How to apply macro to proc sql ?</title>
      <link>https://communities.sas.com/t5/SAS-Programming/How-to-apply-macro-to-proc-sql/m-p/599503#M173061</link>
      <description>Hi i have this code gives me date. &lt;BR /&gt;PUT %SYSFUNC(PUTN(%SYSFUNC(INTNX(DAY,%SYSFUNC(TODAY()),-1)),date9.)) 24ocr2019&lt;BR /&gt;&lt;BR /&gt;How can i spply that to my proc sql &lt;BR /&gt;From table&lt;BR /&gt;Where date = ? Here is where i would like to make refer to the macro thank you &lt;BR /&gt;&lt;BR /&gt;</description>
      <pubDate>Sat, 26 Oct 2019 03:29:33 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/How-to-apply-macro-to-proc-sql/m-p/599503#M173061</guid>
      <dc:creator>BETO</dc:creator>
      <dc:date>2019-10-26T03:29:33Z</dc:date>
    </item>
    <item>
      <title>Re: How to apply macro to proc sql ?</title>
      <link>https://communities.sas.com/t5/SAS-Programming/How-to-apply-macro-to-proc-sql/m-p/599504#M173062</link>
      <description>I currently have a date between '12oct2019'd and '18oct2019'd;</description>
      <pubDate>Sat, 26 Oct 2019 03:31:08 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/How-to-apply-macro-to-proc-sql/m-p/599504#M173062</guid>
      <dc:creator>BETO</dc:creator>
      <dc:date>2019-10-26T03:31:08Z</dc:date>
    </item>
    <item>
      <title>Re: How to apply macro to proc sql ?</title>
      <link>https://communities.sas.com/t5/SAS-Programming/How-to-apply-macro-to-proc-sql/m-p/599512#M173066</link>
      <description>&lt;P&gt;Don't overcomplicate it. Just use&lt;/P&gt;
&lt;PRE&gt;&lt;CODE class=" language-sas"&gt;where date = today() - 1&lt;/CODE&gt;&lt;/PRE&gt;
&lt;P&gt;(dates are counts of days, so today() - 1 gives you yesterday's date)&lt;/P&gt;</description>
      <pubDate>Sat, 26 Oct 2019 06:31:18 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/How-to-apply-macro-to-proc-sql/m-p/599512#M173066</guid>
      <dc:creator>Kurt_Bremser</dc:creator>
      <dc:date>2019-10-26T06:31:18Z</dc:date>
    </item>
    <item>
      <title>Re: How to apply macro to proc sql ?</title>
      <link>https://communities.sas.com/t5/SAS-Programming/How-to-apply-macro-to-proc-sql/m-p/599546#M173074</link>
      <description>KurtBremser.  I tried that and it brings back 0 entries  when i use between '12oct2019'd and '18oct2019'd; it brings in data ... sorry selected accept solution when i wanted to reply</description>
      <pubDate>Sat, 26 Oct 2019 17:05:50 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/How-to-apply-macro-to-proc-sql/m-p/599546#M173074</guid>
      <dc:creator>BETO</dc:creator>
      <dc:date>2019-10-26T17:05:50Z</dc:date>
    </item>
    <item>
      <title>Re: How to apply macro to proc sql ?</title>
      <link>https://communities.sas.com/t5/SAS-Programming/How-to-apply-macro-to-proc-sql/m-p/599547#M173075</link>
      <description>&lt;P&gt;Please post your&amp;nbsp;&lt;EM&gt;whole&lt;/EM&gt; code. Use the "little running man" icon for posting code.&lt;/P&gt;</description>
      <pubDate>Sat, 26 Oct 2019 17:26:01 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/How-to-apply-macro-to-proc-sql/m-p/599547#M173075</guid>
      <dc:creator>Kurt_Bremser</dc:creator>
      <dc:date>2019-10-26T17:26:01Z</dc:date>
    </item>
  </channel>
</rss>

