<?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: PCFILES LIBNAME withe space in name in SAS Programming</title>
    <link>https://communities.sas.com/t5/SAS-Programming/PCFILES-LIBNAME-withe-space-in-name/m-p/126786#M25818</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;You can use the TYPE= option to force it to treat the file as either Excel or Access file.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;TYPE= &lt;SPAN class="userSuppliedValue" style="font-style: italic;"&gt;EXCEL | ACCESS&lt;/SPAN&gt;&lt;/P&gt;&lt;P class="paraSimpleFirst"&gt;specifies the file type in the PATH= statement.&lt;/P&gt;&lt;P class="summary" style="margin: 0.7em 0 0 2em; text-indent: -2em;"&gt;&lt;SPAN class="summaryNote" style="font-weight: bold; font-size: 0.9em; padding-right: 1em;"&gt;Note:&lt;/SPAN&gt;Use TYPE= if the file identified in the PATH= statement does not have an .xls or .mdb file extension.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 04 Jul 2013 20:05:57 GMT</pubDate>
    <dc:creator>Tom</dc:creator>
    <dc:date>2013-07-04T20:05:57Z</dc:date>
    <item>
      <title>PCFILES LIBNAME withe space in name</title>
      <link>https://communities.sas.com/t5/SAS-Programming/PCFILES-LIBNAME-withe-space-in-name/m-p/126779#M25811</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;SPAN class="hps"&gt; Like making a&lt;/SPAN&gt; &lt;SPAN class="hps"&gt;LIBNAME&lt;/SPAN&gt; &lt;SPAN class="hps"&gt;with&lt;/SPAN&gt; &lt;SPAN class="hps"&gt;PCFILES&lt;/SPAN&gt; &lt;SPAN class="hps"&gt;for&lt;/SPAN&gt; &lt;SPAN class="hps"&gt;directory whose name&lt;/SPAN&gt; &lt;SPAN class="hps"&gt;contain&lt;/SPAN&gt; &lt;SPAN class="hps"&gt;a&lt;/SPAN&gt; &lt;SPAN class="hps"&gt;space ?&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN class="hps"&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN class="hps"&gt;Ex :&lt;/SPAN&gt;&lt;SPAN style="font-size: 10pt; font-family: Courier New;"&gt; TB_Rep PCFILES PATH=&lt;/SPAN&gt;&lt;SPAN style="color: #800080; font-size: 10pt; font-family: Courier New;"&gt;"C:\T EMP\Toto.mdb"&lt;/SPAN&gt;&lt;SPAN style="font-size: 10pt; font-family: Courier New;"&gt; SERVER = &lt;/SPAN&gt;&lt;SPAN style="color: #0000ff; font-size: 10pt; font-family: Courier New;"&gt;%sysget&lt;/SPAN&gt;&lt;SPAN style="font-size: 10pt; font-family: Courier New;"&gt;(computername) ;&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 04 Jul 2013 14:53:28 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/PCFILES-LIBNAME-withe-space-in-name/m-p/126779#M25811</guid>
      <dc:creator>Ambulance</dc:creator>
      <dc:date>2013-07-04T14:53:28Z</dc:date>
    </item>
    <item>
      <title>Re: PCFILES LIBNAME withe space in name</title>
      <link>https://communities.sas.com/t5/SAS-Programming/PCFILES-LIBNAME-withe-space-in-name/m-p/126780#M25812</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;can you please clarify the context of that syntax?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 04 Jul 2013 15:12:09 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/PCFILES-LIBNAME-withe-space-in-name/m-p/126780#M25812</guid>
      <dc:creator>Peter_C</dc:creator>
      <dc:date>2013-07-04T15:12:09Z</dc:date>
    </item>
    <item>
      <title>Re: PCFILES LIBNAME withe space in name</title>
      <link>https://communities.sas.com/t5/SAS-Programming/PCFILES-LIBNAME-withe-space-in-name/m-p/126781#M25813</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;SPAN class="hps"&gt;Using SAS&lt;/SPAN&gt; &lt;SPAN class="hps"&gt;9.3&lt;/SPAN&gt; &lt;SPAN class="hps"&gt;64-bit&lt;/SPAN&gt; &lt;SPAN class="hps"&gt;to access&lt;/SPAN&gt; &lt;SPAN class="hps"&gt;the 32&lt;/SPAN&gt;-bit &lt;SPAN class="hps"&gt;MS&lt;/SPAN&gt; &lt;SPAN class="hps"&gt;Office files&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN class="hps"&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN class="hps"&gt;But&lt;/SPAN&gt; &lt;SPAN class="hps"&gt;folder name&lt;/SPAN&gt; &lt;SPAN class="hps"&gt;contains a space&lt;/SPAN&gt; &lt;SPAN class="hps"&gt;and&lt;/SPAN&gt; &lt;SPAN class="hps"&gt;the line of code&lt;/SPAN&gt; &lt;SPAN class="hps"&gt;does not&lt;/SPAN&gt; &lt;SPAN class="hps"&gt;work with&lt;/SPAN&gt; &lt;SPAN class="hps"&gt;file&lt;/SPAN&gt; &lt;SPAN class="hps"&gt;whose name&lt;/SPAN&gt; &lt;SPAN class="hps"&gt;contains a space.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN class="hps"&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN class="hps"&gt;&lt;A href="http://support.sas.com/kb/43/802.html" title="http://support.sas.com/kb/43/802.html"&gt;43802 - Installing SAS® 9.3 PC Files Server and using it to convert 32-bit Microsoft Office files to SAS® 64-bit files&lt;/A&gt;&lt;A href="http://support.sas.com/kb/43/802.html"&gt;http://support.sas.com/kb/43/802.html&lt;/A&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 04 Jul 2013 15:25:18 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/PCFILES-LIBNAME-withe-space-in-name/m-p/126781#M25813</guid>
      <dc:creator>Ambulance</dc:creator>
      <dc:date>2013-07-04T15:25:18Z</dc:date>
    </item>
    <item>
      <title>Re: PCFILES LIBNAME withe space in name</title>
      <link>https://communities.sas.com/t5/SAS-Programming/PCFILES-LIBNAME-withe-space-in-name/m-p/126782#M25814</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;In WIndows if you want to reference a path with an embedded space you need to enclose it in quotes.&lt;/P&gt;&lt;P&gt;Since the SAS syntax requires quotes also the internal quotes need to be doubled.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt; font-family: 'Courier New'; background-color: #ffffff;"&gt;LIBNAME TB_Rep PCFILES PATH=&lt;/SPAN&gt;&lt;SPAN style="font-size: 10pt; font-family: 'Courier New'; background-color: #ffffff; color: #800080;"&gt;"""C:\T EMP\Toto.mdb"""&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt; font-family: 'Courier New'; background-color: #ffffff;"&gt; SERVER = &lt;/SPAN&gt;&lt;SPAN style="font-size: 10pt; font-family: 'Courier New'; background-color: #ffffff; color: #0000ff;"&gt;%sysget&lt;/SPAN&gt;&lt;SPAN style="font-size: 10pt; font-family: 'Courier New'; background-color: #ffffff;"&gt;(computername) &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt; font-family: 'Courier New'; background-color: #ffffff;"&gt;;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;You can use the QUOTE() function to make the necessary conversion for you.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt; font-family: 'Courier New'; background-color: #ffffff;"&gt;LIBNAME TB_Rep PCFILES PATH=%sysfunc(quote(&lt;/SPAN&gt;&lt;SPAN style="font-size: 10pt; font-family: 'Courier New'; background-color: #ffffff; color: #800080;"&gt;"C:\T EMP\Toto.mdb"))&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt; font-family: 'Courier New'; background-color: #ffffff;"&gt;&amp;nbsp; SERVER = &lt;/SPAN&gt;&lt;SPAN style="font-size: 10pt; font-family: 'Courier New'; background-color: #ffffff; color: #0000ff;"&gt;%sysget&lt;/SPAN&gt;&lt;SPAN style="font-size: 10pt; font-family: 'Courier New'; background-color: #ffffff;"&gt;(computername) &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt; font-family: 'Courier New'; background-color: #ffffff;"&gt;;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt; font-family: 'Courier New'; background-color: #ffffff;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 04 Jul 2013 17:29:44 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/PCFILES-LIBNAME-withe-space-in-name/m-p/126782#M25814</guid>
      <dc:creator>Tom</dc:creator>
      <dc:date>2013-07-04T17:29:44Z</dc:date>
    </item>
    <item>
      <title>Re: PCFILES LIBNAME withe space in name</title>
      <link>https://communities.sas.com/t5/SAS-Programming/PCFILES-LIBNAME-withe-space-in-name/m-p/126783#M25815</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;SPAN class="hps"&gt;I tried&lt;/SPAN&gt; &lt;SPAN class="hps"&gt;your thing&lt;/SPAN&gt; &lt;SPAN class="hps"&gt;and&lt;/SPAN&gt; &lt;SPAN class="hps"&gt;I received&lt;/SPAN&gt; &lt;SPAN class="hps"&gt;this error&lt;/SPAN&gt; &lt;SPAN class="hps"&gt;mesage :&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN class="hps"&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;647&amp;nbsp; LIBNAME TB_Rep PCFILES PATH= %sysfunc(quote("C:\T EMP\Toto.mdb"))&lt;SPAN style="font-size: 8pt;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;648&amp;nbsp;&amp;nbsp;&amp;nbsp; SERVER = %sysget(computername);&lt;/P&gt;&lt;P&gt;ERROR: Unable to determine file type from PATH= option.&lt;/P&gt;&lt;P&gt;ERROR: Error in the LIBNAME statement&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 04 Jul 2013 17:51:33 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/PCFILES-LIBNAME-withe-space-in-name/m-p/126783#M25815</guid>
      <dc:creator>Ambulance</dc:creator>
      <dc:date>2013-07-04T17:51:33Z</dc:date>
    </item>
    <item>
      <title>Re: PCFILES LIBNAME withe space in name</title>
      <link>https://communities.sas.com/t5/SAS-Programming/PCFILES-LIBNAME-withe-space-in-name/m-p/126784#M25816</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;SPAN class="hps"&gt;I found the&lt;/SPAN&gt; &lt;SPAN class="hps"&gt;solution &lt;/SPAN&gt;:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt; font-family: Courier New;"&gt;TB_Rep PCFILES PATH=&lt;/SPAN&gt;&lt;SPAN style="color: #0000ff; font-size: 10pt; font-family: Courier New;"&gt;%sysfunc&lt;/SPAN&gt;&lt;SPAN style="font-size: 10pt; font-family: Courier New;"&gt;(quote(C:\T EMP\Toto.mdb)) SERVER = &lt;/SPAN&gt;&lt;SPAN style="color: #0000ff; font-size: 10pt; font-family: Courier New;"&gt;%sysget&lt;/SPAN&gt;&lt;SPAN style="font-size: 10pt; font-family: Courier New;"&gt;(computername) &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt; font-family: Courier New;"&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 04 Jul 2013 18:04:53 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/PCFILES-LIBNAME-withe-space-in-name/m-p/126784#M25816</guid>
      <dc:creator>Ambulance</dc:creator>
      <dc:date>2013-07-04T18:04:53Z</dc:date>
    </item>
    <item>
      <title>Re: PCFILES LIBNAME withe space in name</title>
      <link>https://communities.sas.com/t5/SAS-Programming/PCFILES-LIBNAME-withe-space-in-name/m-p/126785#M25817</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;So that is the same code that you started with.&amp;nbsp; Check to make sure that you have not entered your code into something like Microsoft Office.&amp;nbsp; That program has an extremely nasty habit of changing quotes into strange ASCII codes so that they look "pretty".&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 04 Jul 2013 18:21:05 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/PCFILES-LIBNAME-withe-space-in-name/m-p/126785#M25817</guid>
      <dc:creator>Tom</dc:creator>
      <dc:date>2013-07-04T18:21:05Z</dc:date>
    </item>
    <item>
      <title>Re: PCFILES LIBNAME withe space in name</title>
      <link>https://communities.sas.com/t5/SAS-Programming/PCFILES-LIBNAME-withe-space-in-name/m-p/126786#M25818</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;You can use the TYPE= option to force it to treat the file as either Excel or Access file.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;TYPE= &lt;SPAN class="userSuppliedValue" style="font-style: italic;"&gt;EXCEL | ACCESS&lt;/SPAN&gt;&lt;/P&gt;&lt;P class="paraSimpleFirst"&gt;specifies the file type in the PATH= statement.&lt;/P&gt;&lt;P class="summary" style="margin: 0.7em 0 0 2em; text-indent: -2em;"&gt;&lt;SPAN class="summaryNote" style="font-weight: bold; font-size: 0.9em; padding-right: 1em;"&gt;Note:&lt;/SPAN&gt;Use TYPE= if the file identified in the PATH= statement does not have an .xls or .mdb file extension.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 04 Jul 2013 20:05:57 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/PCFILES-LIBNAME-withe-space-in-name/m-p/126786#M25818</guid>
      <dc:creator>Tom</dc:creator>
      <dc:date>2013-07-04T20:05:57Z</dc:date>
    </item>
    <item>
      <title>Re: PCFILES LIBNAME withe space in name</title>
      <link>https://communities.sas.com/t5/SAS-Programming/PCFILES-LIBNAME-withe-space-in-name/m-p/126787#M25819</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;SPAN class="hps"&gt;Perfect,&lt;/SPAN&gt;&lt;SPAN class="hps"&gt;it works great &lt;/SPAN&gt;&lt;SPAN class="hps"&gt;with &lt;/SPAN&gt;&lt;SPAN class="hps"&gt;option :&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN class="hps"&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;TYPE= &lt;SPAN class="userSuppliedValue" style="font-style: italic;"&gt;EXCEL | ACCESS and&amp;nbsp; &lt;/SPAN&gt;&lt;SPAN style="color: #0000ff; font-family: Courier New; font-size: 10pt;"&gt;%sysfunc&lt;/SPAN&gt;&lt;SPAN style="font-family: Courier New; font-size: 10pt;"&gt;(quote())&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: Courier New; font-size: 10pt;"&gt;Tank you Tom&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 04 Jul 2013 20:17:45 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/PCFILES-LIBNAME-withe-space-in-name/m-p/126787#M25819</guid>
      <dc:creator>Ambulance</dc:creator>
      <dc:date>2013-07-04T20:17:45Z</dc:date>
    </item>
  </channel>
</rss>

