<?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: Programming 1: Essentials Lesson 7 Question in SAS Procedures</title>
    <link>https://communities.sas.com/t5/SAS-Procedures/Programming-1-Essentials-Lesson-7-Question/m-p/165886#M42998</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi, &amp;amp;path will hold the value of the path. So if you are specifying the full path name, don't use macro &amp;amp;path&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;libname libref "your path"; *this is the syntax;&lt;/P&gt;&lt;P&gt;try this:&amp;nbsp; libname custfm 'C:\Users\cflach\Documents\custfm.xls' ; * assuming this is where your xls file is located;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 30 Dec 2014 20:27:53 GMT</pubDate>
    <dc:creator>naveen_srini</dc:creator>
    <dc:date>2014-12-30T20:27:53Z</dc:date>
    <item>
      <title>Programming 1: Essentials Lesson 7 Question</title>
      <link>https://communities.sas.com/t5/SAS-Procedures/Programming-1-Essentials-Lesson-7-Question/m-p/165878#M42990</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello, I'm getting this error&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;ERROR: The PCFILES engine cannot be found.&lt;/P&gt;&lt;P&gt;ERROR: Error in the LIBNAME statement.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I'm trying to run this code:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #339966;"&gt;&lt;EM&gt;libname custfm pcfiles path="&amp;amp;path/custfm.xls";&lt;/EM&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #339966;"&gt;&lt;EM&gt;proc contents data=custfm._all_;&lt;/EM&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #339966;"&gt;&lt;EM&gt;run;&lt;/EM&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #339966;"&gt;&lt;EM&gt;data work.males;&lt;/EM&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #339966;"&gt;&lt;EM&gt;run;&lt;/EM&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #339966;"&gt;&lt;EM&gt;proc print data=work.males label;&lt;/EM&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #339966;"&gt;&lt;EM&gt;run;&lt;/EM&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #339966;"&gt;&lt;EM&gt;libname custfm clear;&lt;/EM&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Any thoughts as to what is wrong?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 30 Dec 2014 19:54:44 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Procedures/Programming-1-Essentials-Lesson-7-Question/m-p/165878#M42990</guid>
      <dc:creator>flachboard</dc:creator>
      <dc:date>2014-12-30T19:54:44Z</dc:date>
    </item>
    <item>
      <title>Re: Programming 1: Essentials Lesson 7 Question</title>
      <link>https://communities.sas.com/t5/SAS-Procedures/Programming-1-Essentials-Lesson-7-Question/m-p/165879#M42991</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I don't think you need to specify pcfiles engine and path= coz &amp;amp;path will just resolve to the defined path of macro by the macro processor by substituting it's value from the global symbol table and places it back into the input stack.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;libname custfm "&amp;amp;path\custfm.xls"; *this should work getting your libname assigned.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 30 Dec 2014 20:09:50 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Procedures/Programming-1-Essentials-Lesson-7-Question/m-p/165879#M42991</guid>
      <dc:creator>naveen_srini</dc:creator>
      <dc:date>2014-12-30T20:09:50Z</dc:date>
    </item>
    <item>
      <title>Re: Programming 1: Essentials Lesson 7 Question</title>
      <link>https://communities.sas.com/t5/SAS-Procedures/Programming-1-Essentials-Lesson-7-Question/m-p/165880#M42992</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Are you in SAS University Edition?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 30 Dec 2014 20:10:00 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Procedures/Programming-1-Essentials-Lesson-7-Question/m-p/165880#M42992</guid>
      <dc:creator>Reeza</dc:creator>
      <dc:date>2014-12-30T20:10:00Z</dc:date>
    </item>
    <item>
      <title>Re: Programming 1: Essentials Lesson 7 Question</title>
      <link>https://communities.sas.com/t5/SAS-Procedures/Programming-1-Essentials-Lesson-7-Question/m-p/165881#M42993</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;No, I'm not in the SAS University Edition.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 30 Dec 2014 20:15:36 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Procedures/Programming-1-Essentials-Lesson-7-Question/m-p/165881#M42993</guid>
      <dc:creator>flachboard</dc:creator>
      <dc:date>2014-12-30T20:15:36Z</dc:date>
    </item>
    <item>
      <title>Re: Programming 1: Essentials Lesson 7 Question</title>
      <link>https://communities.sas.com/t5/SAS-Procedures/Programming-1-Essentials-Lesson-7-Question/m-p/165882#M42994</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Is PCFILES Server installed?&lt;/P&gt;&lt;P&gt;Do you need to use PCFILES at all?&amp;nbsp; It's used when you have SAS 64 bit and Excel 32 Bit. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;What version of SAS do you have and what bitness? Also what version of Excel and bitness?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 30 Dec 2014 20:17:39 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Procedures/Programming-1-Essentials-Lesson-7-Question/m-p/165882#M42994</guid>
      <dc:creator>Reeza</dc:creator>
      <dc:date>2014-12-30T20:17:39Z</dc:date>
    </item>
    <item>
      <title>Re: Programming 1: Essentials Lesson 7 Question</title>
      <link>https://communities.sas.com/t5/SAS-Procedures/Programming-1-Essentials-Lesson-7-Question/m-p/165883#M42995</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;BR /&gt;Naveen, I got this error when running what you advised:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 8pt;"&gt;&amp;nbsp; &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;WARNING: Apparent symbolic reference PATH not resolved.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;ERROR: Connect: 'C:\Users\cflach\Documents\&amp;amp;path\custfm.xls' is not a valid path. Make sure&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;that the path name is spelled correctly and that you are connected to the server on&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;which the file resides.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;ERROR: Error in the LIBNAME statement.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 30 Dec 2014 20:21:11 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Procedures/Programming-1-Essentials-Lesson-7-Question/m-p/165883#M42995</guid>
      <dc:creator>flachboard</dc:creator>
      <dc:date>2014-12-30T20:21:11Z</dc:date>
    </item>
    <item>
      <title>Re: Programming 1: Essentials Lesson 7 Question</title>
      <link>https://communities.sas.com/t5/SAS-Procedures/Programming-1-Essentials-Lesson-7-Question/m-p/165884#M42996</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Reeza,&lt;/P&gt;&lt;P&gt;How do I know if PCFILES server is installed?&lt;/P&gt;&lt;P&gt;Where do I find the bitness for SAS and Excel?&lt;/P&gt;&lt;P&gt;Thanks!!&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 30 Dec 2014 20:22:35 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Procedures/Programming-1-Essentials-Lesson-7-Question/m-p/165884#M42996</guid>
      <dc:creator>flachboard</dc:creator>
      <dc:date>2014-12-30T20:22:35Z</dc:date>
    </item>
    <item>
      <title>Re: Programming 1: Essentials Lesson 7 Question</title>
      <link>https://communities.sas.com/t5/SAS-Procedures/Programming-1-Essentials-Lesson-7-Question/m-p/165885#M42997</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;When referencing a macro variable and other literal text you need a . after the macro variable to indicate the end of the variable and that the remainder text is appended. &amp;amp;path/custfm.xls is going to look for a macro variable with /custfm as part of the name, which isn't a legal name and won't exist. Use &amp;amp;path./custfm.xls or &amp;amp;path.\custfm.xls depending on Operating System. &lt;/P&gt;&lt;P&gt; &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 30 Dec 2014 20:25:09 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Procedures/Programming-1-Essentials-Lesson-7-Question/m-p/165885#M42997</guid>
      <dc:creator>ballardw</dc:creator>
      <dc:date>2014-12-30T20:25:09Z</dc:date>
    </item>
    <item>
      <title>Re: Programming 1: Essentials Lesson 7 Question</title>
      <link>https://communities.sas.com/t5/SAS-Procedures/Programming-1-Essentials-Lesson-7-Question/m-p/165886#M42998</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi, &amp;amp;path will hold the value of the path. So if you are specifying the full path name, don't use macro &amp;amp;path&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;libname libref "your path"; *this is the syntax;&lt;/P&gt;&lt;P&gt;try this:&amp;nbsp; libname custfm 'C:\Users\cflach\Documents\custfm.xls' ; * assuming this is where your xls file is located;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 30 Dec 2014 20:27:53 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Procedures/Programming-1-Essentials-Lesson-7-Question/m-p/165886#M42998</guid>
      <dc:creator>naveen_srini</dc:creator>
      <dc:date>2014-12-30T20:27:53Z</dc:date>
    </item>
    <item>
      <title>Re: Programming 1: Essentials Lesson 7 Question</title>
      <link>https://communities.sas.com/t5/SAS-Procedures/Programming-1-Essentials-Lesson-7-Question/m-p/165887#M42999</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thank you, Naveen.&lt;/P&gt;&lt;P&gt;I think I'm getting closer. I did get this warning though with nothing in the output:&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 8pt;"&gt;&amp;nbsp; &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;WARNING: No matching members in directory.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 30 Dec 2014 20:48:05 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Procedures/Programming-1-Essentials-Lesson-7-Question/m-p/165887#M42999</guid>
      <dc:creator>flachboard</dc:creator>
      <dc:date>2014-12-30T20:48:05Z</dc:date>
    </item>
    <item>
      <title>Re: Programming 1: Essentials Lesson 7 Question</title>
      <link>https://communities.sas.com/t5/SAS-Procedures/Programming-1-Essentials-Lesson-7-Question/m-p/165888#M43000</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I would first try &lt;A __default_attr="857493" __jive_macro_name="user" class="jive_macro jive_macro_user" data-objecttype="3" href="https://communities.sas.com/"&gt;&lt;/A&gt; suggestion of hard coding the path, except with the EXCEL specified. Remember for macro variables to resolve you need to use double not single quotes.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; background-color: #ffffff;"&gt; libname custfm excel 'C:\Users\cflach\Documents\custfm.xls' ;&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;For PC File Server if you're on Windows desktop go to Programs&amp;gt;SAS&amp;gt;PC FILE SERVER should be in the list of applications.&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;For bitness of SAS, in SAS go to HELP&amp;gt;About SAS and see what is under Software Information.&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;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 30 Dec 2014 20:51:18 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Procedures/Programming-1-Essentials-Lesson-7-Question/m-p/165888#M43000</guid>
      <dc:creator>Reeza</dc:creator>
      <dc:date>2014-12-30T20:51:18Z</dc:date>
    </item>
    <item>
      <title>Re: Programming 1: Essentials Lesson 7 Question</title>
      <link>https://communities.sas.com/t5/SAS-Procedures/Programming-1-Essentials-Lesson-7-Question/m-p/165889#M43001</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;did the libname get successfully assigned?&lt;/P&gt;&lt;P&gt;if yes, do a test using&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;proc contents data=custfm._all_;/* this will list you the datasets in the excel that you are reading */&lt;/P&gt;&lt;P&gt;run;&amp;nbsp; &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If there aint any, well, you would have to know where your xls file is placed, i mean the exact location, find that, get it's path and replace exactly in the syntax and do again.&lt;/P&gt;&lt;P&gt;Alternatively, import the xls file to your SAS environment using the import wizard or proc import and get started with your SAS stuff. If this fails too, store the file as csv file and read with infile and input statements. Have fun!!!&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 30 Dec 2014 20:57:21 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Procedures/Programming-1-Essentials-Lesson-7-Question/m-p/165889#M43001</guid>
      <dc:creator>naveen_srini</dc:creator>
      <dc:date>2014-12-30T20:57:21Z</dc:date>
    </item>
    <item>
      <title>Re: Programming 1: Essentials Lesson 7 Question</title>
      <link>https://communities.sas.com/t5/SAS-Procedures/Programming-1-Essentials-Lesson-7-Question/m-p/165890#M43002</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I think that worked. Sorry, I'm super new to SAS. Thank you so much!!&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 30 Dec 2014 21:07:05 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Procedures/Programming-1-Essentials-Lesson-7-Question/m-p/165890#M43002</guid>
      <dc:creator>flachboard</dc:creator>
      <dc:date>2014-12-30T21:07:05Z</dc:date>
    </item>
    <item>
      <title>Re: Programming 1: Essentials Lesson 7 Question</title>
      <link>https://communities.sas.com/t5/SAS-Procedures/Programming-1-Essentials-Lesson-7-Question/m-p/165891#M43003</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Please mark question answered, I believe it goes &lt;A __default_attr="857493" __jive_macro_name="user" class="jive_macro jive_macro_user" data-objecttype="3" href="https://communities.sas.com/"&gt;&lt;/A&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 30 Dec 2014 22:30:29 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Procedures/Programming-1-Essentials-Lesson-7-Question/m-p/165891#M43003</guid>
      <dc:creator>Reeza</dc:creator>
      <dc:date>2014-12-30T22:30:29Z</dc:date>
    </item>
    <item>
      <title>Re: Programming 1: Essentials Lesson 7 Question</title>
      <link>https://communities.sas.com/t5/SAS-Procedures/Programming-1-Essentials-Lesson-7-Question/m-p/165892#M43004</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I'm sorry, this is my first time. How do I mark a question answered?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 30 Dec 2014 23:29:45 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Procedures/Programming-1-Essentials-Lesson-7-Question/m-p/165892#M43004</guid>
      <dc:creator>flachboard</dc:creator>
      <dc:date>2014-12-30T23:29:45Z</dc:date>
    </item>
    <item>
      <title>Re: Programming 1: Essentials Lesson 7 Question</title>
      <link>https://communities.sas.com/t5/SAS-Procedures/Programming-1-Essentials-Lesson-7-Question/m-p/165893#M43005</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Go to the main question page (not the communications page) and you'll see a button to mark questions answers/helpful on each post. If no answer is exact mark it assumed answered in the initial post. &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 30 Dec 2014 23:43:26 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Procedures/Programming-1-Essentials-Lesson-7-Question/m-p/165893#M43005</guid>
      <dc:creator>Reeza</dc:creator>
      <dc:date>2014-12-30T23:43:26Z</dc:date>
    </item>
  </channel>
</rss>

