<?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: %let currdt=put(today(),yymmdd10.) in SAS Procedures</title>
    <link>https://communities.sas.com/t5/SAS-Procedures/let-currdt-put-today-yymmdd10/m-p/198104#M49488</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;data _NULL_;&lt;/P&gt;&lt;P&gt;&amp;nbsp; call symputx('currdt' ,put(today(), yymmddn8.));&lt;/P&gt;&lt;P&gt;&amp;nbsp; output;&lt;/P&gt;&lt;P&gt;run;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 08 Jul 2015 10:54:03 GMT</pubDate>
    <dc:creator>hellind</dc:creator>
    <dc:date>2015-07-08T10:54:03Z</dc:date>
    <item>
      <title>%let currdt=put(today(),yymmdd10.)</title>
      <link>https://communities.sas.com/t5/SAS-Procedures/let-currdt-put-today-yymmdd10/m-p/198103#M49487</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I run a script everyday. And the below variable assigned is changed everyday. I want to avoid manually changing.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;%let currdt=20150708;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;How to automate the variable assignment to today()? Using the minimal coding. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Something like this %let currdt=put(today(),yymmdd10.)? &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If I use DATA _NULL_ then the variable can only be used inside the datastep. This variable will be used everywhere in script.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 08 Jul 2015 10:40:10 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Procedures/let-currdt-put-today-yymmdd10/m-p/198103#M49487</guid>
      <dc:creator>hellind</dc:creator>
      <dc:date>2015-07-08T10:40:10Z</dc:date>
    </item>
    <item>
      <title>Re: %let currdt=put(today(),yymmdd10.)</title>
      <link>https://communities.sas.com/t5/SAS-Procedures/let-currdt-put-today-yymmdd10/m-p/198104#M49488</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;data _NULL_;&lt;/P&gt;&lt;P&gt;&amp;nbsp; call symputx('currdt' ,put(today(), yymmddn8.));&lt;/P&gt;&lt;P&gt;&amp;nbsp; output;&lt;/P&gt;&lt;P&gt;run;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 08 Jul 2015 10:54:03 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Procedures/let-currdt-put-today-yymmdd10/m-p/198104#M49488</guid>
      <dc:creator>hellind</dc:creator>
      <dc:date>2015-07-08T10:54:03Z</dc:date>
    </item>
    <item>
      <title>Re: %let currdt=put(today(),yymmdd10.)</title>
      <link>https://communities.sas.com/t5/SAS-Procedures/let-currdt-put-today-yymmdd10/m-p/198105#M49489</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;As you are not creating any dataset, there is no need to use output statement in the code.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; background-color: #ffffff;"&gt;data _NULL_;&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; background-color: #ffffff;"&gt;&amp;nbsp; call symputx('currdt' ,put(today(), yymmddn8.));&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; background-color: #ffffff;"&gt;run;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 08 Jul 2015 11:55:57 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Procedures/let-currdt-put-today-yymmdd10/m-p/198105#M49489</guid>
      <dc:creator>MadhuKorni</dc:creator>
      <dc:date>2015-07-08T11:55:57Z</dc:date>
    </item>
    <item>
      <title>Re: %let currdt=put(today(),yymmdd10.)</title>
      <link>https://communities.sas.com/t5/SAS-Procedures/let-currdt-put-today-yymmdd10/m-p/198106#M49490</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;%let currdt=%sysfunc(today(),yymmdd10.) ;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 08 Jul 2015 11:57:40 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Procedures/let-currdt-put-today-yymmdd10/m-p/198106#M49490</guid>
      <dc:creator>Ksharp</dc:creator>
      <dc:date>2015-07-08T11:57:40Z</dc:date>
    </item>
  </channel>
</rss>

