<?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: How SAS read two digit year in Oracle in SAS Programming</title>
    <link>https://communities.sas.com/t5/SAS-Programming/How-SAS-read-two-digit-year-in-Oracle/m-p/237931#M43653</link>
    <description>In oracle table it two digit year is displaying, but it has 4 digit year.  SAS extracting properly only.  Thank you for your response.</description>
    <pubDate>Sat, 05 Dec 2015 02:29:39 GMT</pubDate>
    <dc:creator>nbonda</dc:creator>
    <dc:date>2015-12-05T02:29:39Z</dc:date>
    <item>
      <title>How SAS read two digit year in Oracle</title>
      <link>https://communities.sas.com/t5/SAS-Programming/How-SAS-read-two-digit-year-in-Oracle/m-p/237265#M43492</link>
      <description>&lt;P&gt;Hi SAS users,&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;I am using SAS on linux platform.&lt;/P&gt;
&lt;P&gt;A date column has been pulled from Oracle, the values wilth two digit year are showing as four year digit in SAS datasets .&lt;/P&gt;
&lt;P&gt;for instance the date value in Oracle is 12-Jan-00 12:59:59.99999000 PM, SAS is reading it as 12JAN3000:13:00:00.000000.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;How sas understanding two digit year 00&amp;nbsp; as 3000 instead of 2000. I am getting the right year though which is 3000.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;I have checked the yearcutoff option in my system, its 1920 ( I got this info by using proc option option=yearcutoff;run;)&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;I am uisng SQL pass through to connect to Oracle server.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Thank you in advance.&lt;/P&gt;</description>
      <pubDate>Tue, 01 Dec 2015 21:31:36 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/How-SAS-read-two-digit-year-in-Oracle/m-p/237265#M43492</guid>
      <dc:creator>nbonda</dc:creator>
      <dc:date>2015-12-01T21:31:36Z</dc:date>
    </item>
    <item>
      <title>Re: How SAS read two digit year in Oracle</title>
      <link>https://communities.sas.com/t5/SAS-Programming/How-SAS-read-two-digit-year-in-Oracle/m-p/237266#M43493</link>
      <description>&lt;P&gt;What is the informat shown for the SAS variable?&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;And I would also ask how you know which century the 12-Jan-00 12:59:59.99999000&amp;nbsp;value represents?&lt;/P&gt;</description>
      <pubDate>Tue, 01 Dec 2015 21:55:08 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/How-SAS-read-two-digit-year-in-Oracle/m-p/237266#M43493</guid>
      <dc:creator>ballardw</dc:creator>
      <dc:date>2015-12-01T21:55:08Z</dc:date>
    </item>
    <item>
      <title>Re: How SAS read two digit year in Oracle</title>
      <link>https://communities.sas.com/t5/SAS-Programming/How-SAS-read-two-digit-year-in-Oracle/m-p/237931#M43653</link>
      <description>In oracle table it two digit year is displaying, but it has 4 digit year.  SAS extracting properly only.  Thank you for your response.</description>
      <pubDate>Sat, 05 Dec 2015 02:29:39 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/How-SAS-read-two-digit-year-in-Oracle/m-p/237931#M43653</guid>
      <dc:creator>nbonda</dc:creator>
      <dc:date>2015-12-05T02:29:39Z</dc:date>
    </item>
    <item>
      <title>Re: How SAS read two digit year in Oracle</title>
      <link>https://communities.sas.com/t5/SAS-Programming/How-SAS-read-two-digit-year-in-Oracle/m-p/237932#M43654</link>
      <description>&lt;P&gt;Don't confuse how numbers get printed/formatted with how they are stored.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;In Oracle a date value is stored in a column of type DATE (which contains a datetime value). SAS will always convert this into the correct SAS Datetime value. The 2 or 4 digit year is only how values get printed, not how they are stored internally.&lt;/P&gt;</description>
      <pubDate>Sat, 05 Dec 2015 02:40:56 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/How-SAS-read-two-digit-year-in-Oracle/m-p/237932#M43654</guid>
      <dc:creator>Patrick</dc:creator>
      <dc:date>2015-12-05T02:40:56Z</dc:date>
    </item>
  </channel>
</rss>

