<?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 Libname created in log but not appearing in list of libraries in Programming 1 and 2</title>
    <link>https://communities.sas.com/t5/Programming-1-and-2/Libname-created-in-log-but-not-appearing-in-list-of-libraries/m-p/816800#M1101</link>
    <description>&lt;P&gt;Lesson 2: Accessing Data: Creating an excel libref.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I succesfully created the code using&amp;nbsp; SAS Enterprose, ran the program, no errors, NP was successfully assigned.&amp;nbsp; Problem is that the NP libname does not appear in my list of libraries. Where is it?&amp;nbsp; I know it exists because I am able to complete the rest of the activity and SAS recognizes the library as I am writing the proc&amp;nbsp; contents data=np.parks&lt;/P&gt;</description>
    <pubDate>Tue, 07 Jun 2022 02:07:53 GMT</pubDate>
    <dc:creator>crzydzy</dc:creator>
    <dc:date>2022-06-07T02:07:53Z</dc:date>
    <item>
      <title>Libname created in log but not appearing in list of libraries</title>
      <link>https://communities.sas.com/t5/Programming-1-and-2/Libname-created-in-log-but-not-appearing-in-list-of-libraries/m-p/816800#M1101</link>
      <description>&lt;P&gt;Lesson 2: Accessing Data: Creating an excel libref.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I succesfully created the code using&amp;nbsp; SAS Enterprose, ran the program, no errors, NP was successfully assigned.&amp;nbsp; Problem is that the NP libname does not appear in my list of libraries. Where is it?&amp;nbsp; I know it exists because I am able to complete the rest of the activity and SAS recognizes the library as I am writing the proc&amp;nbsp; contents data=np.parks&lt;/P&gt;</description>
      <pubDate>Tue, 07 Jun 2022 02:07:53 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Programming-1-and-2/Libname-created-in-log-but-not-appearing-in-list-of-libraries/m-p/816800#M1101</guid>
      <dc:creator>crzydzy</dc:creator>
      <dc:date>2022-06-07T02:07:53Z</dc:date>
    </item>
    <item>
      <title>Re: Libname created in log but not appearing in list of libraries</title>
      <link>https://communities.sas.com/t5/Programming-1-and-2/Libname-created-in-log-but-not-appearing-in-list-of-libraries/m-p/816801#M1102</link>
      <description>If you press refresh does it show up?</description>
      <pubDate>Tue, 07 Jun 2022 02:11:04 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Programming-1-and-2/Libname-created-in-log-but-not-appearing-in-list-of-libraries/m-p/816801#M1102</guid>
      <dc:creator>Reeza</dc:creator>
      <dc:date>2022-06-07T02:11:04Z</dc:date>
    </item>
    <item>
      <title>Re: Libname created in log but not appearing in list of libraries</title>
      <link>https://communities.sas.com/t5/Programming-1-and-2/Libname-created-in-log-but-not-appearing-in-list-of-libraries/m-p/816821#M1103</link>
      <description>&lt;P&gt;This LIBNAME statement will always work:&lt;/P&gt;
&lt;PRE&gt;&lt;CODE class=" language-sas"&gt;libname test xlsx "some place that positively does not exist at all";&lt;/CODE&gt;&lt;/PRE&gt;
&lt;P&gt;because you can use LIBNAME XLSX (and other similar engines) to create a &lt;EM&gt;new file&lt;/EM&gt;. The ERROR will happen when you try to create a dataset in the library, or when you try to read something from there.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Your most probable mistake is using the local path to the Excel file in your code, while your SAS process runs in fact on a remote server.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Please post your code, and the log from this:&lt;/P&gt;
&lt;PRE&gt;&lt;CODE class=" language-sas"&gt;%put %sysfunc(pathname(work));&lt;/CODE&gt;&lt;/PRE&gt;</description>
      <pubDate>Tue, 07 Jun 2022 08:16:43 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Programming-1-and-2/Libname-created-in-log-but-not-appearing-in-list-of-libraries/m-p/816821#M1103</guid>
      <dc:creator>Kurt_Bremser</dc:creator>
      <dc:date>2022-06-07T08:16:43Z</dc:date>
    </item>
    <item>
      <title>Re: Libname created in log but not appearing in list of libraries</title>
      <link>https://communities.sas.com/t5/Programming-1-and-2/Libname-created-in-log-but-not-appearing-in-list-of-libraries/m-p/816928#M1104</link>
      <description>Hi: Watch where you have your libname np clear; statement. Most of our examples show the use of the LIBNAME statement to point to the Excel workbook and then after the SAS code, we typically show a CLEAR for the LIBNAME. The reason is that Excel gets touchy when SAS holds a file open with the LIBNAME engine and can issue nasty "read-only" messages if you try to open the file in Excel while SAS is using it. If you look at your libraries list AFTER your program does the clear, you will no longer see the XLSX defined library in your list.&lt;BR /&gt;&lt;BR /&gt;Cynthia</description>
      <pubDate>Tue, 07 Jun 2022 18:45:56 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Programming-1-and-2/Libname-created-in-log-but-not-appearing-in-list-of-libraries/m-p/816928#M1104</guid>
      <dc:creator>Cynthia_sas</dc:creator>
      <dc:date>2022-06-07T18:45:56Z</dc:date>
    </item>
    <item>
      <title>Re: Libname created in log but not appearing in list of libraries</title>
      <link>https://communities.sas.com/t5/Programming-1-and-2/Libname-created-in-log-but-not-appearing-in-list-of-libraries/m-p/816948#M1105</link>
      <description>Refreshing does not make the NP library appear.&lt;BR /&gt;&lt;BR /&gt;As I proceed with the coding for the rest of the activity, the 3 data sets&lt;BR /&gt;(in the library) pop up in the suggestive mode feature in SAS Enterprise.&lt;BR /&gt;&lt;BR /&gt;FYI, I have looked in every library on the server and I could not find it.&lt;BR /&gt;I even looked on my local hard drive to see if it were someplace.&lt;BR /&gt;</description>
      <pubDate>Tue, 07 Jun 2022 19:41:14 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Programming-1-and-2/Libname-created-in-log-but-not-appearing-in-list-of-libraries/m-p/816948#M1105</guid>
      <dc:creator>crzydzy</dc:creator>
      <dc:date>2022-06-07T19:41:14Z</dc:date>
    </item>
  </channel>
</rss>

