<?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 Retaining datetime formats from excel files when using Proc import on a 64bit SAS system when Dbms=EXCEL does not work in SAS Procedures</title>
    <link>https://communities.sas.com/t5/SAS-Procedures/Retaining-datetime-formats-from-excel-files-when-using-Proc/m-p/60971#M17286</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I was recently upgraded to a 64 bit version of Windows 7 using SAS 9.2. It appears that I cannot use dbms=Excel to import my excel files anymore for the reason explained more fully in the following post&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;A class="jive-link-external-small" href="http://support.sas.com/kb/33/228.html"&gt;http://support.sas.com/kb/33/228.html&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I do not use a server for which to use EXCELCS, so I am left with using the Dbms=xls. Unfortunatly most of my programs import files with datetime formated variables but when I use the dbms=xls they are not retained. Using the origonal dbms=Excel on my old system I used various options such as USEDATE=NO to allow me to import a full datetime variable. It does not appear that dbms=xls has such features (or at least I haven't been able to find them). Can anyone point me in the right direction to solve this one or recommend any alternatives?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 06 Sep 2011 19:31:10 GMT</pubDate>
    <dc:creator>Syrph</dc:creator>
    <dc:date>2011-09-06T19:31:10Z</dc:date>
    <item>
      <title>Retaining datetime formats from excel files when using Proc import on a 64bit SAS system when Dbms=EXCEL does not work</title>
      <link>https://communities.sas.com/t5/SAS-Procedures/Retaining-datetime-formats-from-excel-files-when-using-Proc/m-p/60971#M17286</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I was recently upgraded to a 64 bit version of Windows 7 using SAS 9.2. It appears that I cannot use dbms=Excel to import my excel files anymore for the reason explained more fully in the following post&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;A class="jive-link-external-small" href="http://support.sas.com/kb/33/228.html"&gt;http://support.sas.com/kb/33/228.html&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I do not use a server for which to use EXCELCS, so I am left with using the Dbms=xls. Unfortunatly most of my programs import files with datetime formated variables but when I use the dbms=xls they are not retained. Using the origonal dbms=Excel on my old system I used various options such as USEDATE=NO to allow me to import a full datetime variable. It does not appear that dbms=xls has such features (or at least I haven't been able to find them). Can anyone point me in the right direction to solve this one or recommend any alternatives?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 06 Sep 2011 19:31:10 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Procedures/Retaining-datetime-formats-from-excel-files-when-using-Proc/m-p/60971#M17286</guid>
      <dc:creator>Syrph</dc:creator>
      <dc:date>2011-09-06T19:31:10Z</dc:date>
    </item>
    <item>
      <title>Retaining datetime formats from excel files when using Proc import on a 64bit SAS system when Dbms=EXCEL does not work</title>
      <link>https://communities.sas.com/t5/SAS-Procedures/Retaining-datetime-formats-from-excel-files-when-using-Proc/m-p/60972#M17287</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I, personally, would like someone from SAS to respond to your question by explaining to all of us how we are supposed to go about installing/using the server mentioned in the documentation for Excelcs.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I'm sure that you aren't the only one stuck in the current situation!&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 06 Sep 2011 22:28:15 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Procedures/Retaining-datetime-formats-from-excel-files-when-using-Proc/m-p/60972#M17287</guid>
      <dc:creator>art297</dc:creator>
      <dc:date>2011-09-06T22:28:15Z</dc:date>
    </item>
    <item>
      <title>Retaining datetime formats from excel files when using Proc import on a 64bit SAS system when Dbms=EXCEL does not work</title>
      <link>https://communities.sas.com/t5/SAS-Procedures/Retaining-datetime-formats-from-excel-files-when-using-Proc/m-p/60973#M17288</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;This info would indeed be very nice.&amp;nbsp; I haven't really looked around for it but it would come in handy.&amp;nbsp; Another option to consider is DDE (Dynamic Data Exchange).&amp;nbsp; I have never used this with excel but I know it is possible (not sure whether 64 bit architecture is an issue or not).&amp;nbsp; The last option I can think of is using SAS/ODBC with the excel drivers to connect to an excel workbook another thing I have not done before but should be possible...&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 06 Sep 2011 22:41:41 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Procedures/Retaining-datetime-formats-from-excel-files-when-using-Proc/m-p/60973#M17288</guid>
      <dc:creator>FriedEgg</dc:creator>
      <dc:date>2011-09-06T22:41:41Z</dc:date>
    </item>
    <item>
      <title>Retaining datetime formats from excel files when using Proc import on a 64bit SAS system when Dbms=EXCEL does not work</title>
      <link>https://communities.sas.com/t5/SAS-Procedures/Retaining-datetime-formats-from-excel-files-when-using-Proc/m-p/60974#M17289</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks for those ideas both appear to work but using the SAS/ODBC seems to work the best for me even though it is somewhat annoying to modify my codes to use it. The potential problem for anyone else using this option is that I have installed a 64 bit version of Microsoft office 2010 which installs the ODBC drivers for microsoft excel and access. This does not happen if you have a 32 bit version of Office. I needed to reinstall my office to get this to work. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;It would be very nice to get that information about EXCELCS from the people at SAS. I was wondering since SAS seems to create its own standalone server on the computer it is running on, could it be tricked into just using that server? That would be much nicer.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 07 Sep 2011 18:11:08 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Procedures/Retaining-datetime-formats-from-excel-files-when-using-Proc/m-p/60974#M17289</guid>
      <dc:creator>Syrph</dc:creator>
      <dc:date>2011-09-07T18:11:08Z</dc:date>
    </item>
    <item>
      <title>Retaining datetime formats from excel files when using Proc import on a 64bit SAS system when Dbms=EXCEL does not work</title>
      <link>https://communities.sas.com/t5/SAS-Procedures/Retaining-datetime-formats-from-excel-files-when-using-Proc/m-p/60975#M17290</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I asked this question in the new SAS Deployment community here is the link:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE __jive_macro_name="quote" class="jive_text_macro jive_macro_quote"&gt;&lt;P&gt;&lt;A _jive_internal="true" class="jiveTT-hover-user jive-username-link" href="https://communities.sas.com/people/PaulHomes" id="jive-64952416202273278009803" style="font-size: 12px; color: #0e66ba; font-weight: bold;"&gt;Paul Homes&lt;/A&gt; wrote:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;In terms of configuration and administration, I would start out by looking in the &lt;EM style="font-size: 12px;"&gt;SAS/ACCESS(R) 9.2 Interface to PC Files: Reference, Second Edition&lt;/EM&gt; under &lt;EM style="font-size: 12px;"&gt;LIBNAME Statement and Pass-Through Facility on Linux, UNIX, and 64-Bit Microsoft Windows&lt;/EM&gt; and then &lt;A class="jive-link-external-small" href="http://support.sas.com/documentation/cdl/en/acpcref/63184/HTML/default/viewer.htm#a002645029.htm" style="font-size: 12px; outline-style: none; color: #0e66ba;"&gt;PC Files Server Administration&lt;/A&gt;.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Cheers&lt;/P&gt;&lt;P&gt;Paul&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE __jive_macro_name="quote" class="jive_text_macro jive_macro_quote"&gt;&lt;P&gt;&lt;A _jive_internal="true" class="jiveTT-hover-user jive-username-link" href="https://communities.sas.com/people/Resa" id="jive-8009916202273281652803" style="font-size: 12px; color: #0e66ba; font-weight: bold;"&gt;Resa&lt;/A&gt; wrote:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;In addition to what Paul Homes indicated:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;From experience please take notice of the following Usage Notes:&lt;/P&gt;&lt;P&gt;&lt;A class="jive-link-external-small" href="http://support.sas.com/kb/35/064.html" style="font-size: 12px; outline-style: none; color: #0e66ba;"&gt;35064&lt;/A&gt; Network drives are not recognized by the SAS® PC File Server when the server is installed as a service&lt;/P&gt;&lt;P&gt;&lt;A class="jive-link-external-small" href="http://support.sas.com/kb/41/060.html" style="font-size: 12px; outline-style: none; color: #0e66ba;"&gt;41060&lt;/A&gt; The EXCELCS and PCFILES engines do not support the GETNAMES= and MIXED= options&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The syntax when using EXCELCS is basically as follows:&lt;/P&gt;&lt;P&gt;PROC EXPORT&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; DATA = &amp;lt;SAS Dataset&amp;gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; OUTFILE = &amp;lt;Excel file&amp;gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; DBMS = EXCELCS&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; REPLACE ;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; SERVER = &amp;lt;server name&amp;gt; ;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; PORT = &amp;lt;portnumber&amp;gt; ;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; SSPI = YES ;&lt;/P&gt;&lt;P&gt;RUN ;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;PROC IMPORT&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; OUT = &amp;lt;SAS Dataset&amp;gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; DATAFILE = &amp;lt;Excel file&amp;gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; DBMS = EXCELCS&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; REPLACE ;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; SERVER = &amp;lt;server name&amp;gt; ;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; PORT = &amp;lt;portnumber&amp;gt; ;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; SSPI = YES ;&lt;/P&gt;&lt;P&gt;RUN ;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;We use SSPI=YES to allow Integrated Windows Authentication as described on &lt;A class="jive-link-external-small" href="http://support.sas.com/documentation/cdl/en/acpcref/63184/HTML/default/viewer.htm#a003103761.htm" style="font-size: 12px; outline-style: none; color: #0e66ba;"&gt;this page&lt;/A&gt;.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;A _jive_internal="true" class="active_link" href="https://communities.sas.com/message/104758#104758"&gt;http://communities.sas.com/message/104758#104758&lt;/A&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sun, 11 Sep 2011 04:33:27 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Procedures/Retaining-datetime-formats-from-excel-files-when-using-Proc/m-p/60975#M17290</guid>
      <dc:creator>FriedEgg</dc:creator>
      <dc:date>2011-09-11T04:33:27Z</dc:date>
    </item>
  </channel>
</rss>

