<?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: proc import .xlsx in SAS Procedures</title>
    <link>https://communities.sas.com/t5/SAS-Procedures/proc-import-xlsx/m-p/87886#M25108</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;no usedate is for .xlsx&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 08 Aug 2012 20:56:48 GMT</pubDate>
    <dc:creator>Hawkeye</dc:creator>
    <dc:date>2012-08-08T20:56:48Z</dc:date>
    <item>
      <title>proc import .xlsx</title>
      <link>https://communities.sas.com/t5/SAS-Procedures/proc-import-xlsx/m-p/87882#M25104</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Good day all,&lt;/P&gt;&lt;P&gt;I am trying to import a .xlsx file and have the first line take in only what is literally in the file as far as the variables are concerned. Instead the way I have it set up now, it takes the format that is in excel and puts it in the sas datetime. format.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;To give you an idea of the dataset:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE __jive_macro_name="quote" class="jive_text_macro jive_macro_quote" modifiedtitle="true"&gt;
&lt;P&gt;building&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 10-jun&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 10-jul&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 10- aug ....&lt;/P&gt;
&lt;/PRE&gt;&lt;P&gt;Is there an option in the proc import statement to ignore the format that is applied to the variables?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 08 Aug 2012 20:12:04 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Procedures/proc-import-xlsx/m-p/87882#M25104</guid>
      <dc:creator>Hawkeye</dc:creator>
      <dc:date>2012-08-08T20:12:04Z</dc:date>
    </item>
    <item>
      <title>Re: proc import .xlsx</title>
      <link>https://communities.sas.com/t5/SAS-Procedures/proc-import-xlsx/m-p/87883#M25105</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;You can set scantime/scandate to no in your proc import, but that might not help with other data types.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Otherwise you can see some of the options in this thread here:&lt;/P&gt;&lt;P&gt;&lt;A class="active_link" href="http://listserv.uga.edu/cgi-bin/wa?A1=ind1208a&amp;amp;L=sas-l#31" title="http://listserv.uga.edu/cgi-bin/wa?A1=ind1208a&amp;amp;L=sas-l#31"&gt;http://listserv.uga.edu/cgi-bin/wa?A1=ind1208a&amp;amp;L=sas-l#31&lt;/A&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 08 Aug 2012 20:40:56 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Procedures/proc-import-xlsx/m-p/87883#M25105</guid>
      <dc:creator>Reeza</dc:creator>
      <dc:date>2012-08-08T20:40:56Z</dc:date>
    </item>
    <item>
      <title>Re: proc import .xlsx</title>
      <link>https://communities.sas.com/t5/SAS-Procedures/proc-import-xlsx/m-p/87884#M25106</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;scandate or usedate?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 08 Aug 2012 20:47:59 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Procedures/proc-import-xlsx/m-p/87884#M25106</guid>
      <dc:creator>Hawkeye</dc:creator>
      <dc:date>2012-08-08T20:47:59Z</dc:date>
    </item>
    <item>
      <title>Re: proc import .xlsx</title>
      <link>https://communities.sas.com/t5/SAS-Procedures/proc-import-xlsx/m-p/87885#M25107</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;scandate is for excel and usedate is for access I believe.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 08 Aug 2012 20:53:09 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Procedures/proc-import-xlsx/m-p/87885#M25107</guid>
      <dc:creator>Reeza</dc:creator>
      <dc:date>2012-08-08T20:53:09Z</dc:date>
    </item>
    <item>
      <title>Re: proc import .xlsx</title>
      <link>https://communities.sas.com/t5/SAS-Procedures/proc-import-xlsx/m-p/87886#M25108</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;no usedate is for .xlsx&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 08 Aug 2012 20:56:48 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Procedures/proc-import-xlsx/m-p/87886#M25108</guid>
      <dc:creator>Hawkeye</dc:creator>
      <dc:date>2012-08-08T20:56:48Z</dc:date>
    </item>
    <item>
      <title>Re: proc import .xlsx</title>
      <link>https://communities.sas.com/t5/SAS-Procedures/proc-import-xlsx/m-p/87887#M25109</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;apparently usedate...&lt;/P&gt;&lt;P&gt;&lt;A class="active_link" href="http://support.sas.com/documentation/cdl/en/acpcref/63184/HTML/default/viewer.htm#a003103761.htm" title="http://support.sas.com/documentation/cdl/en/acpcref/63184/HTML/default/viewer.htm#a003103761.htm"&gt;http://support.sas.com/documentation/cdl/en/acpcref/63184/HTML/default/viewer.htm#a003103761.htm&lt;/A&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 08 Aug 2012 20:57:08 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Procedures/proc-import-xlsx/m-p/87887#M25109</guid>
      <dc:creator>Reeza</dc:creator>
      <dc:date>2012-08-08T20:57:08Z</dc:date>
    </item>
    <item>
      <title>Re: proc import .xlsx</title>
      <link>https://communities.sas.com/t5/SAS-Procedures/proc-import-xlsx/m-p/87888#M25110</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Well I am not really sure what happened but it worked, here is what I ended up using.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE __jive_macro_name="quote" class="jive_text_macro jive_macro_quote" modifiedtitle="true"&gt;
&lt;P&gt;proc import out=work.data&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; datafile =&amp;nbsp; 'filepath'&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; DBMS = EXCEL Replace; &lt;/P&gt;
&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; RANGE="Sheet1$"; &lt;/P&gt;
&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; getnames = yes; &lt;/P&gt;
&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; mixed = no;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; scantext = yes;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; usedate = yes; &lt;/P&gt;
&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; scantime = no;&lt;/P&gt;
&lt;P&gt;run;&lt;/P&gt;
&lt;/PRE&gt;&lt;P&gt;I am really confused because it wouldn't run, I got up to walk around and clear my head.&amp;nbsp; Ran it again without changing anything and it worked. &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 08 Aug 2012 21:37:54 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Procedures/proc-import-xlsx/m-p/87888#M25110</guid>
      <dc:creator>Hawkeye</dc:creator>
      <dc:date>2012-08-08T21:37:54Z</dc:date>
    </item>
  </channel>
</rss>

