<?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: Libref questions in SAS Programming</title>
    <link>https://communities.sas.com/t5/SAS-Programming/Libref-questions/m-p/467509#M119340</link>
    <description>&lt;BLOCKQUOTE&gt;&lt;HR /&gt;&lt;a href="https://communities.sas.com/t5/user/viewprofilepage/user-id/122200"&gt;@astha8882000&lt;/a&gt;&amp;nbsp;wrote:&lt;BR /&gt;
&lt;P&gt;Hi All,&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;would be really helpful if you could answer the following 2 questions:&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;2.&amp;nbsp;&lt;/P&gt;
&lt;P&gt;I saw&amp;nbsp;user_work.[dataset_name] in some places. Here does user_work refer to as a permanent or a temp libref?&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Appreciate your help!&lt;/P&gt;
&lt;P&gt;Thank you.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;HR /&gt;&lt;/BLOCKQUOTE&gt;
&lt;P&gt;How sure are you that the code was "user_work.". Libraries are limited to 8 character names. I suspect someone may have been discussing default library names for single references in some fashion. By default most installations have WORK as the default single reference library, so when you use data=junk SAS automatically treats it as data=work.junk. But you can have a library defined as USER and when set it becomes the default for single level names and you have to explicitly use work.junk. And the USER library is not temporary.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;I think we would have to see the original code and comments in more detail to get a more precise response.&lt;/P&gt;</description>
    <pubDate>Mon, 04 Jun 2018 20:17:11 GMT</pubDate>
    <dc:creator>ballardw</dc:creator>
    <dc:date>2018-06-04T20:17:11Z</dc:date>
    <item>
      <title>Libref questions</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Libref-questions/m-p/467502#M119337</link>
      <description>&lt;P&gt;Hi All,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;would be really helpful if you could answer the following 2 questions:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;1. I saw the following in one of the codes:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;proc sql;&lt;BR /&gt;create table sqltest."##Drvr_Nbr_%sysget(USER)"n as&lt;BR /&gt;select statements.....&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;what does a sqltest table mean?&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;2.&amp;nbsp;&lt;/P&gt;&lt;P&gt;I saw&amp;nbsp;user_work.[dataset_name] in some places. Here does user_work refer to as a permanent or a temp libref?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Appreciate your help!&lt;/P&gt;&lt;P&gt;Thank you.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 04 Jun 2018 18:53:34 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Libref-questions/m-p/467502#M119337</guid>
      <dc:creator>astha8882000</dc:creator>
      <dc:date>2018-06-04T18:53:34Z</dc:date>
    </item>
    <item>
      <title>Re: Libref questions</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Libref-questions/m-p/467503#M119338</link>
      <description>&lt;P&gt;SQLTEST in this case is a library reference, probably pointing to a database.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;User_work is a permanent library. The only temporary library in SAS is WORK&lt;/P&gt;</description>
      <pubDate>Mon, 04 Jun 2018 18:55:19 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Libref-questions/m-p/467503#M119338</guid>
      <dc:creator>PaigeMiller</dc:creator>
      <dc:date>2018-06-04T18:55:19Z</dc:date>
    </item>
    <item>
      <title>Re: Libref questions</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Libref-questions/m-p/467509#M119340</link>
      <description>&lt;BLOCKQUOTE&gt;&lt;HR /&gt;&lt;a href="https://communities.sas.com/t5/user/viewprofilepage/user-id/122200"&gt;@astha8882000&lt;/a&gt;&amp;nbsp;wrote:&lt;BR /&gt;
&lt;P&gt;Hi All,&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;would be really helpful if you could answer the following 2 questions:&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;2.&amp;nbsp;&lt;/P&gt;
&lt;P&gt;I saw&amp;nbsp;user_work.[dataset_name] in some places. Here does user_work refer to as a permanent or a temp libref?&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Appreciate your help!&lt;/P&gt;
&lt;P&gt;Thank you.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;HR /&gt;&lt;/BLOCKQUOTE&gt;
&lt;P&gt;How sure are you that the code was "user_work.". Libraries are limited to 8 character names. I suspect someone may have been discussing default library names for single references in some fashion. By default most installations have WORK as the default single reference library, so when you use data=junk SAS automatically treats it as data=work.junk. But you can have a library defined as USER and when set it becomes the default for single level names and you have to explicitly use work.junk. And the USER library is not temporary.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;I think we would have to see the original code and comments in more detail to get a more precise response.&lt;/P&gt;</description>
      <pubDate>Mon, 04 Jun 2018 20:17:11 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Libref-questions/m-p/467509#M119340</guid>
      <dc:creator>ballardw</dc:creator>
      <dc:date>2018-06-04T20:17:11Z</dc:date>
    </item>
    <item>
      <title>Re: Libref questions</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Libref-questions/m-p/467511#M119342</link>
      <description>&lt;BLOCKQUOTE&gt;&lt;HR /&gt;&lt;a href="https://communities.sas.com/t5/user/viewprofilepage/user-id/13884"&gt;@ballardw&lt;/a&gt;&amp;nbsp;wrote:&lt;BR /&gt;
&lt;BLOCKQUOTE&gt;&lt;HR /&gt;&lt;HR /&gt;&lt;/BLOCKQUOTE&gt;
&lt;P&gt;How sure are you that the code was "user_work.". Libraries are limited to 8 character names.&lt;/P&gt;
&lt;/BLOCKQUOTE&gt;
&lt;P&gt;Good catch,&amp;nbsp;&lt;a href="https://communities.sas.com/t5/user/viewprofilepage/user-id/13884"&gt;@ballardw&lt;/a&gt;!&lt;/P&gt;</description>
      <pubDate>Mon, 04 Jun 2018 20:25:32 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Libref-questions/m-p/467511#M119342</guid>
      <dc:creator>PaigeMiller</dc:creator>
      <dc:date>2018-06-04T20:25:32Z</dc:date>
    </item>
    <item>
      <title>Re: Libref questions</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Libref-questions/m-p/467530#M119344</link>
      <description>&lt;P&gt;SAS libraries are in general referenced by two level name (libref.filename),if you don't specify the libref or libref is WORK then &lt;BR /&gt;SAS stores temporarialy.&lt;/P&gt;
&lt;P&gt;libref will be the nick name you defiend in your LIBNAME statement&lt;/P&gt;
&lt;P&gt;LIBNAME mydata "/user/path/";&lt;BR /&gt;LIBANME ORA Oracle user= password= schema=;&lt;/P&gt;
&lt;P&gt;Here mydata will reference the physical path location and where as ORA will reference to Oracle.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;So you need to know how these libraries are referenced.&lt;/P&gt;</description>
      <pubDate>Mon, 04 Jun 2018 21:43:10 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Libref-questions/m-p/467530#M119344</guid>
      <dc:creator>SuryaKiran</dc:creator>
      <dc:date>2018-06-04T21:43:10Z</dc:date>
    </item>
  </channel>
</rss>

