<?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 Understanding SAS lib creation process in SAS Programming</title>
    <link>https://communities.sas.com/t5/SAS-Programming/Understanding-SAS-lib-creation-process/m-p/483517#M125380</link>
    <description>&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I am trying to learn sas programming.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I wrote the below code on University edition of SAS&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;PRE&gt;&lt;CODE class=" language-sas"&gt;libname Staging '/folders/myfolders/';

PROC IMPORT DATAFILE='/folders/myfolders/temp2/LoadSomeRandomFile.XLSX'
OUT = Staging.RandomTable
DBMS = xlsx;
sheet='Sheet1';
run;&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;After execution of this code, a lib "Staging" was created. All fine till now&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Now, i executed the below code&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;PRE&gt;&lt;CODE class=" language-sas"&gt;libname Cleaning '/folders/myfolders/';&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;Which created another library name Cleaning, but....... why there is "RandomTable" table in cleaning tooo..... when i had not specified to create it. Why does sas creates it by default.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks.&lt;/P&gt;</description>
    <pubDate>Thu, 02 Aug 2018 18:35:33 GMT</pubDate>
    <dc:creator>shahsn11</dc:creator>
    <dc:date>2018-08-02T18:35:33Z</dc:date>
    <item>
      <title>Understanding SAS lib creation process</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Understanding-SAS-lib-creation-process/m-p/483517#M125380</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I am trying to learn sas programming.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I wrote the below code on University edition of SAS&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;PRE&gt;&lt;CODE class=" language-sas"&gt;libname Staging '/folders/myfolders/';

PROC IMPORT DATAFILE='/folders/myfolders/temp2/LoadSomeRandomFile.XLSX'
OUT = Staging.RandomTable
DBMS = xlsx;
sheet='Sheet1';
run;&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;After execution of this code, a lib "Staging" was created. All fine till now&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Now, i executed the below code&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;PRE&gt;&lt;CODE class=" language-sas"&gt;libname Cleaning '/folders/myfolders/';&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;Which created another library name Cleaning, but....... why there is "RandomTable" table in cleaning tooo..... when i had not specified to create it. Why does sas creates it by default.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks.&lt;/P&gt;</description>
      <pubDate>Thu, 02 Aug 2018 18:35:33 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Understanding-SAS-lib-creation-process/m-p/483517#M125380</guid>
      <dc:creator>shahsn11</dc:creator>
      <dc:date>2018-08-02T18:35:33Z</dc:date>
    </item>
    <item>
      <title>Re: Understanding SAS lib creation process</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Understanding-SAS-lib-creation-process/m-p/483523#M125384</link>
      <description>&lt;P&gt;a library reference is a logical way of merely pointing a folder where your datasets are stored&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;in your examples, you have used two different library references namely staging and cleaning that points to the same folder&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Therefore, when you saved your dataset random table in that very folder using alibrary reference and then point the same folder with&amp;nbsp; another library reference, you are still basically pointing the same physical area or location where the datasets are stored&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Hope that helps&lt;/P&gt;</description>
      <pubDate>Thu, 02 Aug 2018 18:43:23 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Understanding-SAS-lib-creation-process/m-p/483523#M125384</guid>
      <dc:creator>novinosrin</dc:creator>
      <dc:date>2018-08-02T18:43:23Z</dc:date>
    </item>
  </channel>
</rss>

