<?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: Hard time with SAS to Teradata Date Format - Upload in SAS Data Management</title>
    <link>https://communities.sas.com/t5/SAS-Data-Management/Hard-time-with-SAS-to-Teradata-Date-Format-Upload/m-p/195706#M4202</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Just DATE format.&lt;/P&gt;&lt;P&gt;kindly give me inputs.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Mon, 10 Aug 2015 16:13:15 GMT</pubDate>
    <dc:creator>NareshAbburi</dc:creator>
    <dc:date>2015-08-10T16:13:15Z</dc:date>
    <item>
      <title>Hard time with SAS to Teradata Date Format - Upload</title>
      <link>https://communities.sas.com/t5/SAS-Data-Management/Hard-time-with-SAS-to-Teradata-Date-Format-Upload/m-p/195704#M4200</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I'm having hard time with date format of SAS to Teradata data upload.&lt;/P&gt;&lt;P&gt;My is as below. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;here X is my Teradata library. Y is my SAS library&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;proc sql;&lt;/P&gt;&lt;P&gt;create table X.pace&amp;nbsp; as&lt;/P&gt;&lt;P&gt;select division_name, region_name, lob, bus_res,activity, fme , date, qty&amp;nbsp; from Y.pace;&lt;/P&gt;&lt;P&gt;run;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Date format is not as expected. how exactly should I select the query to pass the correct date format.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;Naresh&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 10 Aug 2015 15:52:54 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Data-Management/Hard-time-with-SAS-to-Teradata-Date-Format-Upload/m-p/195704#M4200</guid>
      <dc:creator>NareshAbburi</dc:creator>
      <dc:date>2015-08-10T15:52:54Z</dc:date>
    </item>
    <item>
      <title>Re: Hard time with SAS to Teradata Date Format - Upload</title>
      <link>https://communities.sas.com/t5/SAS-Data-Management/Hard-time-with-SAS-to-Teradata-Date-Format-Upload/m-p/195705#M4201</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;What do you expect a date to look like in Teradata?&lt;/P&gt;&lt;P&gt;How does it look like in SAS?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If you go to the MORE LIKE THIS section on the right hand side of the page on your question you'll see several answers to this common question.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 10 Aug 2015 16:01:33 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Data-Management/Hard-time-with-SAS-to-Teradata-Date-Format-Upload/m-p/195705#M4201</guid>
      <dc:creator>Reeza</dc:creator>
      <dc:date>2015-08-10T16:01:33Z</dc:date>
    </item>
    <item>
      <title>Re: Hard time with SAS to Teradata Date Format - Upload</title>
      <link>https://communities.sas.com/t5/SAS-Data-Management/Hard-time-with-SAS-to-Teradata-Date-Format-Upload/m-p/195706#M4202</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Just DATE format.&lt;/P&gt;&lt;P&gt;kindly give me inputs.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 10 Aug 2015 16:13:15 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Data-Management/Hard-time-with-SAS-to-Teradata-Date-Format-Upload/m-p/195706#M4202</guid>
      <dc:creator>NareshAbburi</dc:creator>
      <dc:date>2015-08-10T16:13:15Z</dc:date>
    </item>
    <item>
      <title>Re: Hard time with SAS to Teradata Date Format - Upload</title>
      <link>https://communities.sas.com/t5/SAS-Data-Management/Hard-time-with-SAS-to-Teradata-Date-Format-Upload/m-p/195707#M4203</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Teradata is most likely expecting a datetime variable not a date.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 10 Aug 2015 16:30:22 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Data-Management/Hard-time-with-SAS-to-Teradata-Date-Format-Upload/m-p/195707#M4203</guid>
      <dc:creator>Reeza</dc:creator>
      <dc:date>2015-08-10T16:30:22Z</dc:date>
    </item>
    <item>
      <title>Re: Hard time with SAS to Teradata Date Format - Upload</title>
      <link>https://communities.sas.com/t5/SAS-Data-Management/Hard-time-with-SAS-to-Teradata-Date-Format-Upload/m-p/195708#M4204</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;In your Y.pace table, does the "date" field have a date format attached? Sometimes SAS uses that as an indicator to create a different column format in the target database.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;You can use this code to associate a date format with the variable:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;proc datasets library=Y nolist;&lt;/P&gt;&lt;P&gt;modify pace;&lt;/P&gt;&lt;P&gt;format date date.;&lt;/P&gt;&lt;P&gt;quit;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If "date" is a datetime variable, use the datetime. format instead of date.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Tom&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 10 Aug 2015 16:33:47 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Data-Management/Hard-time-with-SAS-to-Teradata-Date-Format-Upload/m-p/195708#M4204</guid>
      <dc:creator>TomKari</dc:creator>
      <dc:date>2015-08-10T16:33:47Z</dc:date>
    </item>
    <item>
      <title>Re: Hard time with SAS to Teradata Date Format - Upload</title>
      <link>https://communities.sas.com/t5/SAS-Data-Management/Hard-time-with-SAS-to-Teradata-Date-Format-Upload/m-p/195709#M4205</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Should work fine.&amp;nbsp; How is it different?&lt;/P&gt;&lt;P&gt;What&amp;nbsp; did the SAS log show?&amp;nbsp; Did you turn on displaying the generated Teradata SQL code?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;libname X teradata server=&amp;amp;server username=&amp;amp;username password=&amp;amp;password&lt;/P&gt;&lt;P&gt; connection=global mode=teradata database=&amp;amp;userdb&lt;/P&gt;&lt;P&gt;;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;data pace ;&lt;/P&gt;&lt;P&gt;&amp;nbsp; length&amp;nbsp; division_name region_name&amp;nbsp; lob&amp;nbsp; bus_res activity&amp;nbsp; fme $20 ;&lt;/P&gt;&lt;P&gt;&amp;nbsp; length&amp;nbsp; date qty&amp;nbsp; 8;&lt;/P&gt;&lt;P&gt;&amp;nbsp; format date date9. ;&lt;/P&gt;&lt;P&gt;&amp;nbsp; informat date date9. ;&lt;/P&gt;&lt;P&gt;&amp;nbsp; input division_name -- qty ;&lt;/P&gt;&lt;P&gt;cards;&lt;/P&gt;&lt;P&gt;division_name region_name lob bus_res activity fme 09AUG2015 100&lt;/P&gt;&lt;P&gt;;;;;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;data x.pace;&lt;/P&gt;&lt;P&gt;&amp;nbsp; set pace;&lt;/P&gt;&lt;P&gt;run;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;data _null_;&lt;/P&gt;&lt;P&gt; set x.pace ;&lt;/P&gt;&lt;P&gt; put (_all_) (=/);&lt;/P&gt;&lt;P&gt;run;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;division_name=division_name&lt;/P&gt;&lt;P&gt;region_name=region_name&lt;/P&gt;&lt;P&gt;lob=lob&lt;/P&gt;&lt;P&gt;bus_res=bus_res&lt;/P&gt;&lt;P&gt;activity=activity&lt;/P&gt;&lt;P&gt;fme=fme&lt;/P&gt;&lt;P&gt;date=09AUG2015&lt;/P&gt;&lt;P&gt;qty=100&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 10 Aug 2015 16:38:09 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Data-Management/Hard-time-with-SAS-to-Teradata-Date-Format-Upload/m-p/195709#M4205</guid>
      <dc:creator>Tom</dc:creator>
      <dc:date>2015-08-10T16:38:09Z</dc:date>
    </item>
    <item>
      <title>Re: Hard time with SAS to Teradata Date Format - Upload</title>
      <link>https://communities.sas.com/t5/SAS-Data-Management/Hard-time-with-SAS-to-Teradata-Date-Format-Upload/m-p/195710#M4206</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks for your help. I really appreciate it.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 10 Aug 2015 19:24:08 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Data-Management/Hard-time-with-SAS-to-Teradata-Date-Format-Upload/m-p/195710#M4206</guid>
      <dc:creator>NareshAbburi</dc:creator>
      <dc:date>2015-08-10T19:24:08Z</dc:date>
    </item>
  </channel>
</rss>

