<?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: issue with the code in SAS Procedures</title>
    <link>https://communities.sas.com/t5/SAS-Procedures/issue-with-the-code/m-p/149258#M39411</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Tough thing.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I realized that this would suffice&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; %let today=%sysfunc(compress(%sysfunc(today(),yymmddd10.),'-'));&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt; line-height: 1.5em;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; data toto;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; itu=&amp;amp;today;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; run;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 05 Aug 2014 09:41:06 GMT</pubDate>
    <dc:creator>andy_wk</dc:creator>
    <dc:date>2014-08-05T09:41:06Z</dc:date>
    <item>
      <title>issue with the code</title>
      <link>https://communities.sas.com/t5/SAS-Procedures/issue-with-the-code/m-p/149257#M39410</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I have this code. I have the error below when I'm on the &lt;EM&gt;toto&lt;/EM&gt; data step.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;WARNING: Apparent symbolic reference TODAY not resolved.&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Why? &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;%macro t12;&lt;/P&gt;&lt;P&gt;%let today=%sysfunc(compress(%sysfunc(today(),yymmddd10.),'-'));&lt;/P&gt;&lt;P&gt;%mend;&lt;/P&gt;&lt;P&gt;%t12;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;data toto;&lt;/P&gt;&lt;P&gt;itu=put &amp;amp;today;&lt;/P&gt;&lt;P&gt;run;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 05 Aug 2014 09:27:37 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Procedures/issue-with-the-code/m-p/149257#M39410</guid>
      <dc:creator>andy_wk</dc:creator>
      <dc:date>2014-08-05T09:27:37Z</dc:date>
    </item>
    <item>
      <title>Re: issue with the code</title>
      <link>https://communities.sas.com/t5/SAS-Procedures/issue-with-the-code/m-p/149258#M39411</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Tough thing.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I realized that this would suffice&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; %let today=%sysfunc(compress(%sysfunc(today(),yymmddd10.),'-'));&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt; line-height: 1.5em;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; data toto;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; itu=&amp;amp;today;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; run;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 05 Aug 2014 09:41:06 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Procedures/issue-with-the-code/m-p/149258#M39411</guid>
      <dc:creator>andy_wk</dc:creator>
      <dc:date>2014-08-05T09:41:06Z</dc:date>
    </item>
    <item>
      <title>Re: issue with the code</title>
      <link>https://communities.sas.com/t5/SAS-Procedures/issue-with-the-code/m-p/149259#M39412</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Or you could put it in the yymmddn8 format (the n means no delimiter):&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt; font-family: Courier New;"&gt; today=&lt;/SPAN&gt;&lt;SPAN style="color: #0000ff; font-size: 10pt; font-family: Courier New;"&gt;%sysfunc&lt;/SPAN&gt;&lt;SPAN style="font-size: 10pt; font-family: Courier New;"&gt;(today(),yymmddn8.);&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt; font-family: Courier New;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt; font-family: Courier New;"&gt; &amp;amp;today.;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 05 Aug 2014 09:48:32 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Procedures/issue-with-the-code/m-p/149259#M39412</guid>
      <dc:creator>RW9</dc:creator>
      <dc:date>2014-08-05T09:48:32Z</dc:date>
    </item>
    <item>
      <title>Re: issue with the code</title>
      <link>https://communities.sas.com/t5/SAS-Procedures/issue-with-the-code/m-p/149260#M39413</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;%let today&lt;SPAN style="font-size: 10pt; line-height: 1.5em; font-family: 'Courier New'; background-color: #ffffff;"&gt;=&lt;/SPAN&gt;&lt;SPAN style="font-size: 10pt; line-height: 1.5em; font-family: 'Courier New'; color: #0000ff; background-color: #ffffff;"&gt;%sysfunc&lt;/SPAN&gt;&lt;SPAN style="font-size: 10pt; line-height: 1.5em; font-family: 'Courier New'; background-color: #ffffff;"&gt;(today(),yymmddn8.);&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;img id="smileywink" class="emoticon emoticon-smileywink" src="https://communities.sas.com/i/smilies/16x16_smiley-wink.png" alt="Smiley Wink" title="Smiley Wink" /&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 05 Aug 2014 09:59:18 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Procedures/issue-with-the-code/m-p/149260#M39413</guid>
      <dc:creator>andy_wk</dc:creator>
      <dc:date>2014-08-05T09:59:18Z</dc:date>
    </item>
    <item>
      <title>Re: issue with the code</title>
      <link>https://communities.sas.com/t5/SAS-Procedures/issue-with-the-code/m-p/149261#M39414</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Copy and paste issue from SAS, normally I would copy to notepad first then into here but was in hurry.&amp;nbsp; The full code was:&lt;/P&gt;&lt;P&gt;%let today=%sysfunc(today(),yymmddn8.);&lt;/P&gt;&lt;P&gt;%put &amp;amp;today.;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Strange it drops the first %keyword. &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 05 Aug 2014 10:02:51 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Procedures/issue-with-the-code/m-p/149261#M39414</guid>
      <dc:creator>RW9</dc:creator>
      <dc:date>2014-08-05T10:02:51Z</dc:date>
    </item>
  </channel>
</rss>

