<?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: How to use PROC IMPORT on Excel worksheet whose name begins with a space in SAS Programming</title>
    <link>https://communities.sas.com/t5/SAS-Programming/How-to-use-PROC-IMPORT-on-Excel-worksheet-whose-name-begins-with/m-p/215695#M39791</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;No, it shows as " AUTOBOND2 RAW$" with no trailing spaces.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Nevertheless, I think the problem has been solved by usingthe libname statement.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Mon, 18 May 2015 12:00:32 GMT</pubDate>
    <dc:creator>PaigeMiller</dc:creator>
    <dc:date>2015-05-18T12:00:32Z</dc:date>
    <item>
      <title>How to use PROC IMPORT on Excel worksheet whose name begins with a space</title>
      <link>https://communities.sas.com/t5/SAS-Programming/How-to-use-PROC-IMPORT-on-Excel-worksheet-whose-name-begins-with/m-p/215691#M39787</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;The name of the worksheet I would like to import into Excel begins with a space, it actually has two spaces, the name is&lt;/P&gt;&lt;P&gt;' AUTOBOND2 RAW' but there are no quotes in the name, I just put them there so you can see the initial space. But when I try&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;proc import datafile="myfile.xlsx" out=AUTOBOND2 dbms=excel replace;&lt;/P&gt;&lt;P&gt;&amp;nbsp; sheet=" AUTOBOND2 RAW";&lt;/P&gt;&lt;P&gt;&amp;nbsp; run;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Produces the error in the LOG&lt;/P&gt;&lt;P&gt;ERROR: Prepare: Invalid bracketing of name ' AUTOBOND2 RAW$'.&lt;/P&gt;&lt;P&gt;SQL statement: SELECT * FROM ` AUTOBOND2 RAW$`&lt;/P&gt;&lt;P&gt;ERROR: Import unsuccessful.&amp;nbsp; See SAS Log for details.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;How do I read this worksheet?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 15 May 2015 19:19:28 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/How-to-use-PROC-IMPORT-on-Excel-worksheet-whose-name-begins-with/m-p/215691#M39787</guid>
      <dc:creator>PaigeMiller</dc:creator>
      <dc:date>2015-05-15T19:19:28Z</dc:date>
    </item>
    <item>
      <title>Re: How to use PROC IMPORT on Excel worksheet whose name begins with a space</title>
      <link>https://communities.sas.com/t5/SAS-Programming/How-to-use-PROC-IMPORT-on-Excel-worksheet-whose-name-begins-with/m-p/215692#M39788</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;SPAN style="font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; background-color: #ffffff;"&gt; sheet=&lt;STRONG&gt;" AUTOBOND2 RAW$"n&lt;/STRONG&gt; ;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; background-color: #ffffff;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; background-color: #ffffff;"&gt;OR Try libname statement , my favorite .&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; background-color: #ffffff;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; background-color: #ffffff;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; background-color: #ffffff;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; background-color: #ffffff;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; background-color: #ffffff;"&gt;Xia Keshan&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 16 May 2015 07:38:33 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/How-to-use-PROC-IMPORT-on-Excel-worksheet-whose-name-begins-with/m-p/215692#M39788</guid>
      <dc:creator>Ksharp</dc:creator>
      <dc:date>2015-05-16T07:38:33Z</dc:date>
    </item>
    <item>
      <title>Re: How to use PROC IMPORT on Excel worksheet whose name begins with a space</title>
      <link>https://communities.sas.com/t5/SAS-Programming/How-to-use-PROC-IMPORT-on-Excel-worksheet-whose-name-begins-with/m-p/215693#M39789</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;PRE __jive_macro_name="quote" class="jive_text_macro jive_macro_quote"&gt;
&lt;P&gt;sheet=&lt;STRONG&gt;" AUTOBOND2 RAW$"n&lt;/STRONG&gt; ;&lt;/P&gt;
&lt;/PRE&gt;&lt;P&gt;Does not work, same error message&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;Try libname statement , my favorite .&lt;/P&gt;
&lt;/PRE&gt;&lt;P&gt;This works. Thanks!&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 18 May 2015 11:50:02 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/How-to-use-PROC-IMPORT-on-Excel-worksheet-whose-name-begins-with/m-p/215693#M39789</guid>
      <dc:creator>PaigeMiller</dc:creator>
      <dc:date>2015-05-18T11:50:02Z</dc:date>
    </item>
    <item>
      <title>Re: How to use PROC IMPORT on Excel worksheet whose name begins with a space</title>
      <link>https://communities.sas.com/t5/SAS-Programming/How-to-use-PROC-IMPORT-on-Excel-worksheet-whose-name-begins-with/m-p/215694#M39790</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;You can open that libname to see what exactly table name it is .&lt;/P&gt;&lt;P&gt;Maybe it like &lt;STRONG style="font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; background-color: #ffffff;"&gt;" AUTOBOND2 RAW&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;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; $"n&lt;/STRONG&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 18 May 2015 11:57:23 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/How-to-use-PROC-IMPORT-on-Excel-worksheet-whose-name-begins-with/m-p/215694#M39790</guid>
      <dc:creator>Ksharp</dc:creator>
      <dc:date>2015-05-18T11:57:23Z</dc:date>
    </item>
    <item>
      <title>Re: How to use PROC IMPORT on Excel worksheet whose name begins with a space</title>
      <link>https://communities.sas.com/t5/SAS-Programming/How-to-use-PROC-IMPORT-on-Excel-worksheet-whose-name-begins-with/m-p/215695#M39791</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;No, it shows as " AUTOBOND2 RAW$" with no trailing spaces.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Nevertheless, I think the problem has been solved by usingthe libname statement.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 18 May 2015 12:00:32 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/How-to-use-PROC-IMPORT-on-Excel-worksheet-whose-name-begins-with/m-p/215695#M39791</guid>
      <dc:creator>PaigeMiller</dc:creator>
      <dc:date>2015-05-18T12:00:32Z</dc:date>
    </item>
  </channel>
</rss>

