<?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 Error when trying to apply date, time formats to variables names 'date' and 'time' in SAS Programming</title>
    <link>https://communities.sas.com/t5/SAS-Programming/Error-when-trying-to-apply-date-time-formats-to-variables-names/m-p/341704#M78242</link>
    <description>&lt;P&gt;&lt;SPAN&gt;Hi there, &lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I am trying to run a simple format command on SAS 9.4 64-bit: &lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;format date date9. time time8. datetime datetime17.; &lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;But I get this error: &lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;ERROR 48-59: The format $DATE was not found or could not be loaded. &lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I get the same error re: time, but no error re: datetime. &lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;This is a statement I've used many times before, and I see it on the internet as well. I've restarted SAS but have the same issue. &lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;It also seems that if I change the names of the date and time variables, it works. That isn't a good solution here, though. &lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Any ideas? &lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Cheers, &lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Dave. &lt;/SPAN&gt;&lt;/P&gt;</description>
    <pubDate>Thu, 16 Mar 2017 18:04:46 GMT</pubDate>
    <dc:creator>DaveHaans</dc:creator>
    <dc:date>2017-03-16T18:04:46Z</dc:date>
    <item>
      <title>Error when trying to apply date, time formats to variables names 'date' and 'time'</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Error-when-trying-to-apply-date-time-formats-to-variables-names/m-p/341704#M78242</link>
      <description>&lt;P&gt;&lt;SPAN&gt;Hi there, &lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I am trying to run a simple format command on SAS 9.4 64-bit: &lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;format date date9. time time8. datetime datetime17.; &lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;But I get this error: &lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;ERROR 48-59: The format $DATE was not found or could not be loaded. &lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I get the same error re: time, but no error re: datetime. &lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;This is a statement I've used many times before, and I see it on the internet as well. I've restarted SAS but have the same issue. &lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;It also seems that if I change the names of the date and time variables, it works. That isn't a good solution here, though. &lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Any ideas? &lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Cheers, &lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Dave. &lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Thu, 16 Mar 2017 18:04:46 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Error-when-trying-to-apply-date-time-formats-to-variables-names/m-p/341704#M78242</guid>
      <dc:creator>DaveHaans</dc:creator>
      <dc:date>2017-03-16T18:04:46Z</dc:date>
    </item>
    <item>
      <title>Re: Error when trying to apply date, time formats to variables names 'date' and 'time'</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Error-when-trying-to-apply-date-time-formats-to-variables-names/m-p/341705#M78243</link>
      <description>&lt;P&gt;Ack! Nevermind, I was concatenating two different datasets and for some reason when I took the second dataset out, it worked.&lt;/P&gt;</description>
      <pubDate>Thu, 16 Mar 2017 18:08:46 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Error-when-trying-to-apply-date-time-formats-to-variables-names/m-p/341705#M78243</guid>
      <dc:creator>DaveHaans</dc:creator>
      <dc:date>2017-03-16T18:08:46Z</dc:date>
    </item>
    <item>
      <title>Re: Error when trying to apply date, time formats to variables names 'date' and 'time'</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Error-when-trying-to-apply-date-time-formats-to-variables-names/m-p/341725#M78251</link>
      <description>&lt;P&gt;Variable "date" is of type character.&lt;/P&gt;</description>
      <pubDate>Thu, 16 Mar 2017 18:56:50 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Error-when-trying-to-apply-date-time-formats-to-variables-names/m-p/341725#M78251</guid>
      <dc:creator>Kurt_Bremser</dc:creator>
      <dc:date>2017-03-16T18:56:50Z</dc:date>
    </item>
  </channel>
</rss>

