<?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: Error LIBREF not assigned, is this a code issue or is the access database not there in SAS Programming</title>
    <link>https://communities.sas.com/t5/SAS-Programming/Error-LIBREF-not-assigned-is-this-a-code-issue-or-is-the-access/m-p/931882#M366617</link>
    <description>&lt;PRE&gt;ERROR: Connect: Could not find file '\\hosted\dph\IS\AppDev\acdcfiles\SAHR Data Queries.accdb'.&lt;/PRE&gt;
&lt;P&gt;From the POV of your SAS session, the file is not there. If you can find it with Windows Explorer, then most likely you work with a remote SAS server, and the network resource is not available there.&lt;/P&gt;</description>
    <pubDate>Wed, 12 Jun 2024 11:16:41 GMT</pubDate>
    <dc:creator>Kurt_Bremser</dc:creator>
    <dc:date>2024-06-12T11:16:41Z</dc:date>
    <item>
      <title>Error LIBREF not assigned, is this a code issue or is the access database not there</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Error-LIBREF-not-assigned-is-this-a-code-issue-or-is-the-access/m-p/931836#M366597</link>
      <description>&lt;P&gt;I used the following code below to import data from an access database, but received several error messages. Is there an issue with how the code is written, or was the database moved?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;libname sql access "\\hosted\dph\IS\AppDev\acdcfiles\SAHR Data Queries.accdb";&lt;BR /&gt;data deltbl; set sql.tblDeletions;&lt;BR /&gt;date2 = input(AdmitDate,anydtdte10.);&lt;BR /&gt;format date2 date9.;&lt;BR /&gt;datec = put(date2,date9.);&lt;BR /&gt;hosp_mrn_adm=catx("_", ref_HospitalCode, MRN, datec);&lt;BR /&gt;run;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;2 libname sql access "\\hosted\dph\IS\AppDev\acdcfiles\SAHR Data Queries.accdb";&lt;BR /&gt;ERROR: Connect: Could not find file '\\hosted\dph\IS\AppDev\acdcfiles\SAHR Data Queries.accdb'.&lt;BR /&gt;ERROR: Error in the LIBNAME statement.&lt;BR /&gt;3 data deltbl; set sql.tblDeletions;&lt;BR /&gt;ERROR: Libref SQL is not assigned.&lt;BR /&gt;4 date2 = input(AdmitDate,anydtdte10.);&lt;BR /&gt;5 format date2 date9.;&lt;BR /&gt;6 datec = put(date2,date9.);&lt;BR /&gt;7 hosp_mrn_adm=catx("_", ref_HospitalCode, MRN, datec);&lt;BR /&gt;8 run;&lt;/P&gt;</description>
      <pubDate>Tue, 11 Jun 2024 23:31:53 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Error-LIBREF-not-assigned-is-this-a-code-issue-or-is-the-access/m-p/931836#M366597</guid>
      <dc:creator>cc15</dc:creator>
      <dc:date>2024-06-11T23:31:53Z</dc:date>
    </item>
    <item>
      <title>Re: Error LIBREF not assigned, is this a code issue or is the access database not there</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Error-LIBREF-not-assigned-is-this-a-code-issue-or-is-the-access/m-p/931840#M366600</link>
      <description>&lt;P&gt;The computer your SAS job is running on cannot find the path and / or file&amp;nbsp;&lt;SPAN&gt;\\hosted\dph\IS\AppDev\acdcfiles\SAHR Data Queries.accdb. If the computer is a remote server then a folder share needs to added for&amp;nbsp;&lt;/SPAN&gt;&lt;SPAN&gt;\\hosted\dph\IS\AppDev\acdcfiles. If SAS is running on your PC then you can test if you have access to the path by pasting it into Windows Explorer.&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Wed, 12 Jun 2024 00:18:31 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Error-LIBREF-not-assigned-is-this-a-code-issue-or-is-the-access/m-p/931840#M366600</guid>
      <dc:creator>SASKiwi</dc:creator>
      <dc:date>2024-06-12T00:18:31Z</dc:date>
    </item>
    <item>
      <title>Re: Error LIBREF not assigned, is this a code issue or is the access database not there</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Error-LIBREF-not-assigned-is-this-a-code-issue-or-is-the-access/m-p/931882#M366617</link>
      <description>&lt;PRE&gt;ERROR: Connect: Could not find file '\\hosted\dph\IS\AppDev\acdcfiles\SAHR Data Queries.accdb'.&lt;/PRE&gt;
&lt;P&gt;From the POV of your SAS session, the file is not there. If you can find it with Windows Explorer, then most likely you work with a remote SAS server, and the network resource is not available there.&lt;/P&gt;</description>
      <pubDate>Wed, 12 Jun 2024 11:16:41 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Error-LIBREF-not-assigned-is-this-a-code-issue-or-is-the-access/m-p/931882#M366617</guid>
      <dc:creator>Kurt_Bremser</dc:creator>
      <dc:date>2024-06-12T11:16:41Z</dc:date>
    </item>
  </channel>
</rss>

