<?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: Getting blank value for date in SAS Programming</title>
    <link>https://communities.sas.com/t5/SAS-Programming/Getting-blank-value-for-date/m-p/170245#M32698</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Dear Ksharp,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have no issue with connect to Oracle db.&lt;/P&gt;&lt;P&gt;My question is that when I retrieve date (&lt;SPAN style="font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; background-color: #ffffff;"&gt;01/09/1167&lt;/SPAN&gt;) from oracle into SAS environement, I am getting null value. Please read my first discussion.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;So Tom and Arthur&amp;nbsp; suggest me to split this type of date into day, month and year format. But still its not working.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks in advance&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Mon, 07 Apr 2014 05:31:21 GMT</pubDate>
    <dc:creator>Abraham</dc:creator>
    <dc:date>2014-04-07T05:31:21Z</dc:date>
    <item>
      <title>Getting blank value for date</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Getting-blank-value-for-date/m-p/170238#M32691</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello Everyone!&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;While connecting to Oracle database and pulling one variable data as DOB for the user King, I am getting null value. Can anyone help me.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;e.g. Variable DOB ='01/09/1167'&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;proc sql;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; connect to oracle (user=scott orapw=tiger path=school);&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; create table temp as&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Select * from connection to oracle&lt;/P&gt;&lt;P&gt;(SELECT dob&lt;/P&gt;&lt;P&gt;FROM&amp;nbsp;&amp;nbsp; emp&lt;/P&gt;&lt;P&gt;where ename='KING';&amp;nbsp; /*value of DOB=01/09/1167*/)&lt;/P&gt;&lt;P&gt;disconnect from oracle;&lt;/P&gt;&lt;P&gt;quit;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Output:&amp;nbsp; null value(.)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Can I use Options year cut-off and if it used, other value are changing (as lakhs of records are there for retrieval from oracle db)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks in advance&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sun, 06 Apr 2014 11:56:27 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Getting-blank-value-for-date/m-p/170238#M32691</guid>
      <dc:creator>Abraham</dc:creator>
      <dc:date>2014-04-06T11:56:27Z</dc:date>
    </item>
    <item>
      <title>Re: Getting blank value for date</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Getting-blank-value-for-date/m-p/170239#M32692</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;SAS formats do not work with dates before 1582.&lt;/P&gt;&lt;P&gt;If you really need to process that as a valid date then you probably need to pull it apart on the Oracle side into Month,Day and Year fields as process it in SAS without using date formats.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sun, 06 Apr 2014 14:56:00 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Getting-blank-value-for-date/m-p/170239#M32692</guid>
      <dc:creator>Tom</dc:creator>
      <dc:date>2014-04-06T14:56:00Z</dc:date>
    </item>
    <item>
      <title>Re: Getting blank value for date</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Getting-blank-value-for-date/m-p/170240#M32693</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;The earliest date that SAS can handle is Jan 1, 1582.&amp;nbsp; If you are going to do this in SAS you'll have to download Year, Month and Day, separately from Oracle, load them into say as numbers (not dates), and then build your query based on whatever combination of those variables you might need.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sun, 06 Apr 2014 14:56:25 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Getting-blank-value-for-date/m-p/170240#M32693</guid>
      <dc:creator>art297</dc:creator>
      <dc:date>2014-04-06T14:56:25Z</dc:date>
    </item>
    <item>
      <title>Re: Getting blank value for date</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Getting-blank-value-for-date/m-p/170241#M32694</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thank You Arthur and Tom for your guidance.&lt;/P&gt;&lt;P&gt;I tried in this way but still not able to succeed. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;In oracle, I have splitted the date into three diff variables as day, month and year.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;CREATE TABLE emp_dob AS&lt;/P&gt;&lt;P&gt;select distinct empid,dob,&lt;/P&gt;&lt;P&gt; extract(day from dob) as sday,&lt;/P&gt;&lt;P&gt; extract(month from dob) as smonth,&lt;/P&gt;&lt;P&gt; extract(year from dob) as syear&lt;/P&gt;&lt;P&gt; from emp &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="text-decoration: underline;"&gt;After that I used the same approach like below but still getting blank value&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt; proc sql;&lt;/P&gt;&lt;P&gt;connect to oracle (user=scott orapw=tiger path=school);&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; create table temp as&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Select * from connection to oracle&lt;/P&gt;&lt;P&gt;(SELECT dob&lt;/P&gt;&lt;P&gt;FROM&amp;nbsp;&amp;nbsp; emp&lt;/P&gt;&lt;P&gt;where ename='KING');&amp;nbsp; /*value of DOB=01/09/1167*/&lt;/P&gt;&lt;P&gt;disconnect from oracle;&lt;/P&gt;&lt;P&gt;quit;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;data temp;&lt;/P&gt;&lt;P&gt;set temp;&lt;/P&gt;&lt;P&gt;New_Date = mdy(sMonth, sDay, sYear);&lt;/P&gt;&lt;P&gt;format New_Date date9.;&lt;/P&gt;&lt;P&gt;run;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks in advance&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 07 Apr 2014 04:20:04 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Getting-blank-value-for-date/m-p/170241#M32694</guid>
      <dc:creator>Abraham</dc:creator>
      <dc:date>2014-04-07T04:20:04Z</dc:date>
    </item>
    <item>
      <title>Re: Getting blank value for date</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Getting-blank-value-for-date/m-p/170242#M32695</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Or Did you try another connection way -libname.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;libname x orcale path= .........&amp;nbsp; ;&lt;/P&gt;&lt;P&gt;proc sql;&lt;/P&gt;&lt;P style="font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; background-color: #ffffff;"&gt;SELECT dob&lt;/P&gt;&lt;P style="font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; background-color: #ffffff;"&gt;FROM&amp;nbsp;&amp;nbsp; x.emp&lt;/P&gt;&lt;P style="font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; background-color: #ffffff;"&gt;where ename = 'KING' ;&amp;nbsp; /* &lt;SPAN style="font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; background-color: #ffffff;"&gt; strip(ename) = 'KING' &lt;/SPAN&gt;&amp;nbsp; */&lt;/P&gt;&lt;P&gt;quit;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Message was edited by: xia keshan&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 07 Apr 2014 04:26:54 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Getting-blank-value-for-date/m-p/170242#M32695</guid>
      <dc:creator>Ksharp</dc:creator>
      <dc:date>2014-04-07T04:26:54Z</dc:date>
    </item>
    <item>
      <title>Re: Getting blank value for date</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Getting-blank-value-for-date/m-p/170243#M32696</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Still its not working. ...Any other way where it can be solved&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 07 Apr 2014 05:00:40 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Getting-blank-value-for-date/m-p/170243#M32696</guid>
      <dc:creator>Abraham</dc:creator>
      <dc:date>2014-04-07T05:00:40Z</dc:date>
    </item>
    <item>
      <title>Re: Getting blank value for date</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Getting-blank-value-for-date/m-p/170244#M32697</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P style="font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; background-color: #ffffff;"&gt;libname x orcale path= .........&amp;nbsp; ;&lt;/P&gt;&lt;P style="font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; background-color: #ffffff;"&gt;proc sql;&lt;/P&gt;&lt;P style="font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; background-color: #ffffff;"&gt;SELECT dob&lt;/P&gt;&lt;P style="font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; background-color: #ffffff;"&gt;FROM&amp;nbsp;&amp;nbsp; x.emp&lt;/P&gt;&lt;P style="font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; background-color: #ffffff;"&gt;where ename&lt;STRONG&gt; contains&lt;/STRONG&gt; 'KING' ; &lt;SPAN style="font-size: 10pt; line-height: 1.5em;"&gt;/* &lt;/SPAN&gt;&lt;SPAN style="font-size: 10pt; line-height: 1.5em;"&gt;&lt;STRONG&gt;upcase(ename)&lt;/STRONG&gt; &lt;STRONG&gt;contains&lt;/STRONG&gt; 'KING' &lt;/SPAN&gt;&lt;SPAN style="font-size: 10pt; line-height: 1.5em;"&gt;&amp;nbsp; */&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; background-color: #ffffff;"&gt;&lt;/P&gt;&lt;P style="font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; background-color: #ffffff;"&gt;quit;&lt;/P&gt;&lt;P style="font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; background-color: #ffffff;"&gt;&lt;/P&gt;&lt;P style="font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; background-color: #ffffff;"&gt;&lt;/P&gt;&lt;P style="font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; background-color: #ffffff;"&gt;&lt;/P&gt;&lt;P style="font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; background-color: #ffffff;"&gt;&lt;/P&gt;&lt;P style="font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; background-color: #ffffff;"&gt;And if you are familiar with Oracel SQL ,you can pass it through :&lt;/P&gt;&lt;P style="font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; background-color: #ffffff;"&gt;&lt;/P&gt;&lt;P style="font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; background-color: #ffffff;"&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P style="font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; background-color: #ffffff;"&gt;proc sql;&lt;/P&gt;&lt;P style="font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; background-color: #ffffff;"&gt;connect to oracle (user=scott orapw=tiger path=school);&lt;/P&gt;&lt;P style="font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; background-color: #ffffff;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; create table temp as&lt;/P&gt;&lt;P style="font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; background-color: #ffffff;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Select * from connection to oracle&lt;/P&gt;&lt;P style="font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; background-color: #ffffff;"&gt;(&lt;/P&gt;&lt;P style="font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; background-color: #ffffff;"&gt;&lt;/P&gt;&lt;P style="font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; background-color: #ffffff;"&gt;&lt;STRONG&gt;select distinct empid,dob,&lt;/STRONG&gt;&lt;/P&gt;&lt;P style="font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; background-color: #ffffff;"&gt;&lt;STRONG&gt;extract(day from dob) as sday,&lt;/STRONG&gt;&lt;/P&gt;&lt;P style="font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; background-color: #ffffff;"&gt;&lt;STRONG&gt;extract(month from dob) as smonth,&lt;/STRONG&gt;&lt;/P&gt;&lt;P style="font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; background-color: #ffffff;"&gt;&lt;STRONG&gt;extract(year from dob) as syear&lt;/STRONG&gt;&lt;/P&gt;&lt;P style="font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; background-color: #ffffff;"&gt;&lt;STRONG&gt;from emp&lt;/STRONG&gt;&lt;/P&gt;&lt;P style="font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; background-color: #ffffff;"&gt;&lt;SPAN style="font-size: 10pt; line-height: 1.5em;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; background-color: #ffffff;"&gt;&lt;SPAN style="font-size: 10pt; line-height: 1.5em;"&gt;&amp;nbsp; );&amp;nbsp; /*value of DOB=01/09/1167*/&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; background-color: #ffffff;"&gt;disconnect from oracle;&lt;/P&gt;&lt;P style="font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; background-color: #ffffff;"&gt;quit;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Message was edited by: xia keshan&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 07 Apr 2014 05:26:13 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Getting-blank-value-for-date/m-p/170244#M32697</guid>
      <dc:creator>Ksharp</dc:creator>
      <dc:date>2014-04-07T05:26:13Z</dc:date>
    </item>
    <item>
      <title>Re: Getting blank value for date</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Getting-blank-value-for-date/m-p/170245#M32698</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Dear Ksharp,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have no issue with connect to Oracle db.&lt;/P&gt;&lt;P&gt;My question is that when I retrieve date (&lt;SPAN style="font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; background-color: #ffffff;"&gt;01/09/1167&lt;/SPAN&gt;) from oracle into SAS environement, I am getting null value. Please read my first discussion.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;So Tom and Arthur&amp;nbsp; suggest me to split this type of date into day, month and year format. But still its not working.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks in advance&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 07 Apr 2014 05:31:21 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Getting-blank-value-for-date/m-p/170245#M32698</guid>
      <dc:creator>Abraham</dc:creator>
      <dc:date>2014-04-07T05:31:21Z</dc:date>
    </item>
    <item>
      <title>Re: Getting blank value for date</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Getting-blank-value-for-date/m-p/170246#M32699</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;That could not be happened. if year month day all are extracted and has right type.&lt;/P&gt;&lt;P&gt;libname x oracle ...&lt;/P&gt;&lt;P&gt;proc sql;&lt;/P&gt;&lt;P&gt;select s&lt;SPAN style="background-color: #ffffff; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 10pt; line-height: 1.5em;"&gt;day, smonth , syear &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="background-color: #ffffff; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 10pt; line-height: 1.5em;"&gt; from x.&lt;SPAN style="font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; background-color: #ffffff;"&gt; emp_dob&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="line-height: 1.5em; font-size: 10pt; background-color: #ffffff; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif;"&gt;&amp;nbsp; where upcase(ename) = 'KING' ; &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="background-color: #ffffff; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 10pt; line-height: 1.5em;"&gt;quit;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="background-color: #ffffff; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 10pt; line-height: 1.5em;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="background-color: #ffffff; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 10pt; line-height: 1.5em;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 07 Apr 2014 06:00:03 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Getting-blank-value-for-date/m-p/170246#M32699</guid>
      <dc:creator>Ksharp</dc:creator>
      <dc:date>2014-04-07T06:00:03Z</dc:date>
    </item>
    <item>
      <title>Re: Getting blank value for date</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Getting-blank-value-for-date/m-p/170247#M32700</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;According to your code, you are still trying to import dob into SAS, instead of the the three variables for day, month, year. dob will never get you more than a missing value.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 07 Apr 2014 06:42:27 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Getting-blank-value-for-date/m-p/170247#M32700</guid>
      <dc:creator>Kurt_Bremser</dc:creator>
      <dc:date>2014-04-07T06:42:27Z</dc:date>
    </item>
    <item>
      <title>Re: Getting blank value for date</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Getting-blank-value-for-date/m-p/170248#M32701</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Can you try pulling the DOB as a character string instead of a&amp;nbsp; date value ? I do this in DB2 , not sure if there's a similar function(Char())&amp;nbsp; in Oracle&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;CREATE TABLE emp_dob AS&lt;/P&gt;&lt;P&gt;select distinct empid,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; CHAR(dob)&lt;/P&gt;&lt;P&gt; from emp&amp;nbsp;&amp;nbsp;&amp;nbsp; ..&amp;nbsp; this is how I do it in DB2&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks!!&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 07 Apr 2014 08:04:25 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Getting-blank-value-for-date/m-p/170248#M32701</guid>
      <dc:creator>Karthikeyan</dc:creator>
      <dc:date>2014-04-07T08:04:25Z</dc:date>
    </item>
    <item>
      <title>Re: Getting blank value for date</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Getting-blank-value-for-date/m-p/170249#M32702</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Due to changes changes imposed by authorities the English date system, which SAS uses cannot uniquely determine a date prior to 1582. Anything involving years prior to that SAS will, for good and sound reasons, not create a SAS date value because SAS dates are offset values from a given day. There is no guarantee in most data sources as to which calendar is used prior to 1582 so the exact offset cannot be calculated.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Also any SAS created date formats applied to a variable with an offset that resolves to prior to 1582 will only display the ranges as BEST.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 07 Apr 2014 16:08:17 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Getting-blank-value-for-date/m-p/170249#M32702</guid>
      <dc:creator>ballardw</dc:creator>
      <dc:date>2014-04-07T16:08:17Z</dc:date>
    </item>
  </channel>
</rss>

