<?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 How to reference once a date in New SAS User</title>
    <link>https://communities.sas.com/t5/New-SAS-User/How-to-reference-once-a-date/m-p/720886#M27742</link>
    <description>&lt;P&gt;Dear all,&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;I have various proc sql programs that each contains a clause ' When date =&amp;nbsp;'30Mar2017'D'.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;How can I optimize the process by stating at the beginning the date and not changing the date within each proc sql?&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Thank you.&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Mon, 22 Feb 2021 11:53:24 GMT</pubDate>
    <dc:creator>cmemtsa</dc:creator>
    <dc:date>2021-02-22T11:53:24Z</dc:date>
    <item>
      <title>How to reference once a date</title>
      <link>https://communities.sas.com/t5/New-SAS-User/How-to-reference-once-a-date/m-p/720886#M27742</link>
      <description>&lt;P&gt;Dear all,&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;I have various proc sql programs that each contains a clause ' When date =&amp;nbsp;'30Mar2017'D'.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;How can I optimize the process by stating at the beginning the date and not changing the date within each proc sql?&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Thank you.&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 22 Feb 2021 11:53:24 GMT</pubDate>
      <guid>https://communities.sas.com/t5/New-SAS-User/How-to-reference-once-a-date/m-p/720886#M27742</guid>
      <dc:creator>cmemtsa</dc:creator>
      <dc:date>2021-02-22T11:53:24Z</dc:date>
    </item>
    <item>
      <title>Re: How to reference once a date</title>
      <link>https://communities.sas.com/t5/New-SAS-User/How-to-reference-once-a-date/m-p/720892#M27743</link>
      <description>&lt;P&gt;Use a macro variable:&lt;/P&gt;
&lt;PRE&gt;&lt;CODE class=" language-sas"&gt;%let refdate=%sysfunc(inputn(30mar2017,date9.));&lt;/CODE&gt;&lt;/PRE&gt;
&lt;P&gt;and later&lt;/P&gt;
&lt;PRE&gt;&lt;CODE class=" language-sas"&gt;when date = &amp;amp;refdate.&lt;/CODE&gt;&lt;/PRE&gt;</description>
      <pubDate>Mon, 22 Feb 2021 12:16:53 GMT</pubDate>
      <guid>https://communities.sas.com/t5/New-SAS-User/How-to-reference-once-a-date/m-p/720892#M27743</guid>
      <dc:creator>Kurt_Bremser</dc:creator>
      <dc:date>2021-02-22T12:16:53Z</dc:date>
    </item>
    <item>
      <title>Re: How to reference once a date</title>
      <link>https://communities.sas.com/t5/New-SAS-User/How-to-reference-once-a-date/m-p/720893#M27744</link>
      <description>&lt;P&gt;Thank you!!!&lt;/P&gt;</description>
      <pubDate>Mon, 22 Feb 2021 12:26:35 GMT</pubDate>
      <guid>https://communities.sas.com/t5/New-SAS-User/How-to-reference-once-a-date/m-p/720893#M27744</guid>
      <dc:creator>cmemtsa</dc:creator>
      <dc:date>2021-02-22T12:26:35Z</dc:date>
    </item>
  </channel>
</rss>

