<?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: Date changes to 1JAN1960  automatically while pushing dataset into oracle. in SAS Data Management</title>
    <link>https://communities.sas.com/t5/SAS-Data-Management/Date-changes-to-1JAN1960-automatically-while-pushing-dataset/m-p/450322#M13892</link>
    <description>&lt;P&gt;Please provide the code created by SAS DI and an example of your dataset in a data step with datelines. A macro for converting a dataset to data step can be found here:&amp;nbsp;&lt;A href="https://communities.sas.com/t5/SAS-Communities-Library/How-to-create-a-data-step-version-of-your-data-AKA-generate/ta-p/258712" target="_blank"&gt;https://communities.sas.com/t5/SAS-Communities-Library/How-to-create-a-data-step-version-of-your-data-AKA-generate/ta-p/258712&lt;/A&gt;&lt;/P&gt;</description>
    <pubDate>Mon, 02 Apr 2018 11:35:50 GMT</pubDate>
    <dc:creator>Kurt_Bremser</dc:creator>
    <dc:date>2018-04-02T11:35:50Z</dc:date>
    <item>
      <title>Date changes to 1JAN1960  automatically while pushing dataset into oracle.</title>
      <link>https://communities.sas.com/t5/SAS-Data-Management/Date-changes-to-1JAN1960-automatically-while-pushing-dataset/m-p/450316#M13890</link>
      <description>&lt;P&gt;Hello ,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I am inserting data &amp;nbsp;into Oracle dataset using SAS DI.But I can see in oracle that date is automatically converted to 1JAN1960 and 31DEC1959 for each observation.&lt;/P&gt;&lt;P&gt;and this is affecting my front end screen which fetch dataset from oracle(Shows wrong date,1JAN1960).&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Could you please suggest what can I do to overcome this problem and give proper date(e.g 02APR2018).&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks in advance.&lt;/P&gt;</description>
      <pubDate>Mon, 02 Apr 2018 10:45:07 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Data-Management/Date-changes-to-1JAN1960-automatically-while-pushing-dataset/m-p/450316#M13890</guid>
      <dc:creator>india2016</dc:creator>
      <dc:date>2018-04-02T10:45:07Z</dc:date>
    </item>
    <item>
      <title>Re: Date changes to 1JAN1960  automatically while pushing dataset into oracle.</title>
      <link>https://communities.sas.com/t5/SAS-Data-Management/Date-changes-to-1JAN1960-automatically-while-pushing-dataset/m-p/450322#M13892</link>
      <description>&lt;P&gt;Please provide the code created by SAS DI and an example of your dataset in a data step with datelines. A macro for converting a dataset to data step can be found here:&amp;nbsp;&lt;A href="https://communities.sas.com/t5/SAS-Communities-Library/How-to-create-a-data-step-version-of-your-data-AKA-generate/ta-p/258712" target="_blank"&gt;https://communities.sas.com/t5/SAS-Communities-Library/How-to-create-a-data-step-version-of-your-data-AKA-generate/ta-p/258712&lt;/A&gt;&lt;/P&gt;</description>
      <pubDate>Mon, 02 Apr 2018 11:35:50 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Data-Management/Date-changes-to-1JAN1960-automatically-while-pushing-dataset/m-p/450322#M13892</guid>
      <dc:creator>Kurt_Bremser</dc:creator>
      <dc:date>2018-04-02T11:35:50Z</dc:date>
    </item>
    <item>
      <title>Re: Date changes to 1JAN1960  automatically while pushing dataset into oracle.</title>
      <link>https://communities.sas.com/t5/SAS-Data-Management/Date-changes-to-1JAN1960-automatically-while-pushing-dataset/m-p/450510#M13901</link>
      <description>&lt;P&gt;For some reason, SAS Libname defaults map Oracle date as SAS datetime, which it seems what you encounter here.&lt;/P&gt;
&lt;P&gt;&lt;A href="http://documentation.sas.com/?docsetId=acreldb&amp;amp;docsetTarget=p06jk0u30uhuj5n18fqw9sxr25lk.htm&amp;amp;docsetVersion=9.4&amp;amp;locale=en#p0lcnj8k2z6n6pn18aq58sjtcd31" target="_blank"&gt;http://documentation.sas.com/?docsetId=acreldb&amp;amp;docsetTarget=p06jk0u30uhuj5n18fqw9sxr25lk.htm&amp;amp;docsetVersion=9.4&amp;amp;locale=en#p0lcnj8k2z6n6pn18aq58sjtcd31&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;Use DBSASTYPE to map it to date instead.&lt;/P&gt;</description>
      <pubDate>Tue, 03 Apr 2018 02:33:27 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Data-Management/Date-changes-to-1JAN1960-automatically-while-pushing-dataset/m-p/450510#M13901</guid>
      <dc:creator>LinusH</dc:creator>
      <dc:date>2018-04-03T02:33:27Z</dc:date>
    </item>
  </channel>
</rss>

