<?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: Invalid Option Name SASDATEFMT in SAS Programming</title>
    <link>https://communities.sas.com/t5/SAS-Programming/Invalid-Option-Name-SASDATEFMT/m-p/302875#M64300</link>
    <description>&lt;P&gt;&lt;a href="https://communities.sas.com/t5/user/viewprofilepage/user-id/11562"&gt;@Kurt_Bremser﻿&lt;/a&gt;&lt;/P&gt;
&lt;P&gt;That's why I've asked the OP if he/she used exactly the same code with the same engine when it was working.&lt;/P&gt;</description>
    <pubDate>Thu, 06 Oct 2016 09:03:48 GMT</pubDate>
    <dc:creator>Patrick</dc:creator>
    <dc:date>2016-10-06T09:03:48Z</dc:date>
    <item>
      <title>Invalid Option Name SASDATEFMT</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Invalid-Option-Name-SASDATEFMT/m-p/302488#M64165</link>
      <description>&lt;P&gt;Trying to convert date formats when I am importing an Excel 2010 worksheet.&amp;nbsp; Am using LIBNAME engine to import worksheet in which "Date_Effective" column is in a datetime type Excel format.&amp;nbsp; Code is:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;libname xl XLSX "C:\ROSTER.xlsx";&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;data ROSTER_IN;&lt;BR /&gt;set xl.'sheet2015$'n(SASDATEFMT=(Date_Effective=MMDDYY8.);&lt;BR /&gt;run;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;from log...&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;set xl.'sheet2015$'n(SASDATEFMT=(Date_Effective=MMDDYY8.));&lt;BR /&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;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; ----------&lt;BR /&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;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 22&lt;/P&gt;&lt;P&gt;ERROR 22-7: Invalid option name SASDATEFMT.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thought option SASDATEFMT was ok to use with Excel2010 files.&amp;nbsp; Any thoughts on how to fix problem?&lt;/P&gt;</description>
      <pubDate>Tue, 04 Oct 2016 23:31:28 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Invalid-Option-Name-SASDATEFMT/m-p/302488#M64165</guid>
      <dc:creator>afurnia</dc:creator>
      <dc:date>2016-10-04T23:31:28Z</dc:date>
    </item>
    <item>
      <title>Re: Invalid Option Name SASDATEFMT</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Invalid-Option-Name-SASDATEFMT/m-p/302492#M64166</link>
      <description>&lt;P&gt;Never heard of that option before...&lt;/P&gt;
&lt;P&gt;I think DBSASTYPE may be a workaround but honestly when importing from Excel you don't have a ton of flexibility.&lt;/P&gt;</description>
      <pubDate>Wed, 05 Oct 2016 00:10:11 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Invalid-Option-Name-SASDATEFMT/m-p/302492#M64166</guid>
      <dc:creator>Reeza</dc:creator>
      <dc:date>2016-10-05T00:10:11Z</dc:date>
    </item>
    <item>
      <title>Re: Invalid Option Name SASDATEFMT</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Invalid-Option-Name-SASDATEFMT/m-p/302493#M64167</link>
      <description>&lt;P&gt;And this worked also with the XLSX engine and not with EXCEL?&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Consulting the documentation I couldn't find a note which clearly states that this option isn't supported for the XLSX engine.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;I suggest you contact SAS TechSupport directly:&amp;nbsp;&lt;A href="http://support.sas.com/techsup/contact/&amp;nbsp;" target="_blank"&gt;http://support.sas.com/techsup/contact/&amp;nbsp;&lt;/A&gt;&lt;/P&gt;</description>
      <pubDate>Wed, 05 Oct 2016 00:57:47 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Invalid-Option-Name-SASDATEFMT/m-p/302493#M64167</guid>
      <dc:creator>Patrick</dc:creator>
      <dc:date>2016-10-05T00:57:47Z</dc:date>
    </item>
    <item>
      <title>Re: Invalid Option Name SASDATEFMT</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Invalid-Option-Name-SASDATEFMT/m-p/302514#M64176</link>
      <description>&lt;P&gt;Save the Excel dungheap to a resonable text-based format and import from that. In the data step you can very easily deal with all kinds of Excel formatting lunacy.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Over the years, I have learned that using the native Excel formats only causes unnecessary pain and wastes time.&lt;/P&gt;</description>
      <pubDate>Wed, 05 Oct 2016 05:38:08 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Invalid-Option-Name-SASDATEFMT/m-p/302514#M64176</guid>
      <dc:creator>Kurt_Bremser</dc:creator>
      <dc:date>2016-10-05T05:38:08Z</dc:date>
    </item>
    <item>
      <title>Re: Invalid Option Name SASDATEFMT</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Invalid-Option-Name-SASDATEFMT/m-p/302675#M64215</link>
      <description>&lt;P&gt;I don't see support for SASDATEFMT as a dataset option for spreadsheets, only for relational database sources. EXCEL is &lt;STRONG&gt;not&lt;/STRONG&gt; a database relational or otherwise.&lt;/P&gt;</description>
      <pubDate>Wed, 05 Oct 2016 14:36:57 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Invalid-Option-Name-SASDATEFMT/m-p/302675#M64215</guid>
      <dc:creator>ballardw</dc:creator>
      <dc:date>2016-10-05T14:36:57Z</dc:date>
    </item>
    <item>
      <title>Re: Invalid Option Name SASDATEFMT</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Invalid-Option-Name-SASDATEFMT/m-p/302806#M64276</link>
      <description>&lt;P&gt;&lt;a href="https://communities.sas.com/t5/user/viewprofilepage/user-id/13884"&gt;@ballardw﻿&lt;/a&gt;&lt;/P&gt;
&lt;P&gt;For example&amp;nbsp;under this link:&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;A href="http://support.sas.com/documentation/cdl/en/acpcref/67382/HTML/default/viewer.htm#n0cfqhcraieg81n1ier2cpp87fnz.htm" target="_blank"&gt;http://support.sas.com/documentation/cdl/en/acpcref/67382/HTML/default/viewer.htm#n0cfqhcraieg81n1ier2cpp87fnz.htm&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;IMG src="https://communities.sas.com/t5/image/serverpage/image-id/5166i2B5808C28138402F/image-size/original?v=v2&amp;amp;px=-1" border="0" alt="Capture.PNG" title="Capture.PNG" /&gt;&lt;/P&gt;</description>
      <pubDate>Wed, 05 Oct 2016 22:31:29 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Invalid-Option-Name-SASDATEFMT/m-p/302806#M64276</guid>
      <dc:creator>Patrick</dc:creator>
      <dc:date>2016-10-05T22:31:29Z</dc:date>
    </item>
    <item>
      <title>Re: Invalid Option Name SASDATEFMT</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Invalid-Option-Name-SASDATEFMT/m-p/302840#M64291</link>
      <description>&lt;P&gt;&lt;a href="https://communities.sas.com/t5/user/viewprofilepage/user-id/12447"&gt;@Patrick﻿&lt;/a&gt;: That whole section of documentation you are referring to deals with libname EXCEL, not with libname XLSX.&lt;/P&gt;
&lt;P&gt;EXCEL is available only on Windows, can also use .XLS files, and uses the Microsoft Data Access Objects, while XLSX is platform-independent, works only with .XLSX files, and uses no MS-supplied software.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;And obviously SASDATEFMT is not (yet?) supported for libname xlsx. There is also no documentation for it.&lt;/P&gt;</description>
      <pubDate>Thu, 06 Oct 2016 05:52:12 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Invalid-Option-Name-SASDATEFMT/m-p/302840#M64291</guid>
      <dc:creator>Kurt_Bremser</dc:creator>
      <dc:date>2016-10-06T05:52:12Z</dc:date>
    </item>
    <item>
      <title>Re: Invalid Option Name SASDATEFMT</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Invalid-Option-Name-SASDATEFMT/m-p/302875#M64300</link>
      <description>&lt;P&gt;&lt;a href="https://communities.sas.com/t5/user/viewprofilepage/user-id/11562"&gt;@Kurt_Bremser﻿&lt;/a&gt;&lt;/P&gt;
&lt;P&gt;That's why I've asked the OP if he/she used exactly the same code with the same engine when it was working.&lt;/P&gt;</description>
      <pubDate>Thu, 06 Oct 2016 09:03:48 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Invalid-Option-Name-SASDATEFMT/m-p/302875#M64300</guid>
      <dc:creator>Patrick</dc:creator>
      <dc:date>2016-10-06T09:03:48Z</dc:date>
    </item>
  </channel>
</rss>

