<?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: Informat for JAN-01-2008 date? in SAS Programming</title>
    <link>https://communities.sas.com/t5/SAS-Programming/Informat-for-JAN-01-2008-date/m-p/565946#M158975</link>
    <description>Thank you! I thought I had tried that, but I guess not. That worked.</description>
    <pubDate>Thu, 13 Jun 2019 17:22:22 GMT</pubDate>
    <dc:creator>wernie</dc:creator>
    <dc:date>2019-06-13T17:22:22Z</dc:date>
    <item>
      <title>Informat for JAN-01-2008 date?</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Informat-for-JAN-01-2008-date/m-p/565938#M158969</link>
      <description>&lt;P&gt;I can't seem to figure this out for some reason. I'm trying to import a .CSV file into SAS. It's a very large file (~20 million + records), so I can't easily change something in Excel, etc. The date appears in the format of MON-DD-YYYY, so an example is Jan-01-2008. How do I use an informat to make sure this gets into SAS properly?&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;I used Proc Import and then tried editing the code in the log to change the informat and nothing I'm doing gets the proper format. The closest I've gotten is just something like JAN2008, but no day. Thanks!&lt;/P&gt;</description>
      <pubDate>Thu, 13 Jun 2019 17:13:17 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Informat-for-JAN-01-2008-date/m-p/565938#M158969</guid>
      <dc:creator>wernie</dc:creator>
      <dc:date>2019-06-13T17:13:17Z</dc:date>
    </item>
    <item>
      <title>Re: Informat for JAN-01-2008 date?</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Informat-for-JAN-01-2008-date/m-p/565941#M158970</link>
      <description>&lt;P&gt;The anydtdte informat can handle it&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;PRE&gt;&lt;CODE class=" language-sas"&gt;data test;
   date='Jan-01-2008';
   newdate=input(date, anydtdte12.);
   format newdate date9.;
run;&lt;/CODE&gt;&lt;/PRE&gt;</description>
      <pubDate>Thu, 13 Jun 2019 17:17:26 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Informat-for-JAN-01-2008-date/m-p/565941#M158970</guid>
      <dc:creator>PeterClemmensen</dc:creator>
      <dc:date>2019-06-13T17:17:26Z</dc:date>
    </item>
    <item>
      <title>Re: Informat for JAN-01-2008 date?</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Informat-for-JAN-01-2008-date/m-p/565946#M158975</link>
      <description>Thank you! I thought I had tried that, but I guess not. That worked.</description>
      <pubDate>Thu, 13 Jun 2019 17:22:22 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Informat-for-JAN-01-2008-date/m-p/565946#M158975</guid>
      <dc:creator>wernie</dc:creator>
      <dc:date>2019-06-13T17:22:22Z</dc:date>
    </item>
  </channel>
</rss>

