<?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: My dataset do not get stored in the permanent library i created in New SAS User</title>
    <link>https://communities.sas.com/t5/New-SAS-User/My-dataset-do-not-get-stored-in-the-permanent-library-i-created/m-p/766769#M30696</link>
    <description>&lt;P&gt;Right-click on the app icon, and select Properties. Then you can see the complete command used to start the SAS session.&lt;/P&gt;
&lt;P&gt;Usually, this command has a -autoexec option that contains the path to the autoexec.sas file, where you can insert the statement.&lt;/P&gt;</description>
    <pubDate>Thu, 09 Sep 2021 05:43:18 GMT</pubDate>
    <dc:creator>Kurt_Bremser</dc:creator>
    <dc:date>2021-09-09T05:43:18Z</dc:date>
    <item>
      <title>My dataset do not get stored in the permanent library i created</title>
      <link>https://communities.sas.com/t5/New-SAS-User/My-dataset-do-not-get-stored-in-the-permanent-library-i-created/m-p/766451#M30644</link>
      <description>&lt;P&gt;Hello SAS community,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;i observed that despite suceesfully creating a permanent library for my dataset (the file gets saved in it too), when i work with the dataset e.g keep only some variables, my new dataset gets stored in the work folder and not my permanent library. What can i do please?&lt;/P&gt;&lt;P&gt;this is the program i used to create a new library&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;*CONVERTING MEPS DATA TO SAS FORMAT;&lt;BR /&gt;LIBNAME WEEK2 'C:\Users\HP SPECTRE\Documents\My SAS work\MEPS15';&lt;BR /&gt;FILENAME HI81 'C:\Users\HP SPECTRE\Documents\My SAS work\H181SSP\H181.SSP';&lt;BR /&gt;PROC XCOPY IN=HI81 OUT=WEEK2 IMPORT;&lt;BR /&gt;RUN;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;after this,&amp;nbsp; the data H181 appears in my WEEK2 folder in SAS but if i work on the file&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;e.g keep so variables&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;DATA KEEP;&lt;BR /&gt;SET WEEK2.H181;&lt;BR /&gt;KEEP dupersid age15x sex region15 racethx cpsfamid famid15;&lt;BR /&gt;RUN;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;the output is saved in my work folder not the WEEK2 library, this is the log:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;DATA KEEP;&lt;BR /&gt;548 SET WEEK2.H181;&lt;BR /&gt;549 KEEP dupersid age15x sex region15 racethx cpsfamid famid15;&lt;BR /&gt;550 RUN;&lt;/P&gt;&lt;P&gt;NOTE: There were 35427 observations read from the data set WEEK2.H181.&lt;BR /&gt;NOTE: The data set WORK.KEEP has 35427 observations and 7 variables.&lt;BR /&gt;NOTE: DATA statement used (Total process time):&lt;BR /&gt;real time 0.51 seconds&lt;BR /&gt;cpu time 0.37 seconds&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;i expect that it should get saved in the WEEK2 library i created, not the work folder.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;can anyone please help with this?&lt;BR /&gt;thanks&lt;/P&gt;</description>
      <pubDate>Tue, 07 Sep 2021 18:24:58 GMT</pubDate>
      <guid>https://communities.sas.com/t5/New-SAS-User/My-dataset-do-not-get-stored-in-the-permanent-library-i-created/m-p/766451#M30644</guid>
      <dc:creator>Banke</dc:creator>
      <dc:date>2021-09-07T18:24:58Z</dc:date>
    </item>
    <item>
      <title>Re: My dataset do not get stored in the permanent library i created</title>
      <link>https://communities.sas.com/t5/New-SAS-User/My-dataset-do-not-get-stored-in-the-permanent-library-i-created/m-p/766454#M30645</link>
      <description>&lt;P&gt;To save a data set in the WEEK2 library, you need to use a two-part name, with WEEK2. as the first part.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;So you want to start the DATA step with&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;PRE&gt;&lt;CODE class=" language-sas"&gt;DATA WEEK2.KEEP;&lt;/CODE&gt;&lt;/PRE&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 07 Sep 2021 18:37:46 GMT</pubDate>
      <guid>https://communities.sas.com/t5/New-SAS-User/My-dataset-do-not-get-stored-in-the-permanent-library-i-created/m-p/766454#M30645</guid>
      <dc:creator>PaigeMiller</dc:creator>
      <dc:date>2021-09-07T18:37:46Z</dc:date>
    </item>
    <item>
      <title>Re: My dataset do not get stored in the permanent library i created</title>
      <link>https://communities.sas.com/t5/New-SAS-User/My-dataset-do-not-get-stored-in-the-permanent-library-i-created/m-p/766507#M30647</link>
      <description>&lt;P&gt;thank you, it worked&amp;nbsp;&lt;/P&gt;&lt;P&gt;however when i closed the SAS session and reopened my folder was no longer there.&lt;/P&gt;&lt;P&gt;can you please share a simple SAS program to save a large excel file permanently?&lt;/P&gt;&lt;P&gt;thanks&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 08 Sep 2021 01:23:14 GMT</pubDate>
      <guid>https://communities.sas.com/t5/New-SAS-User/My-dataset-do-not-get-stored-in-the-permanent-library-i-created/m-p/766507#M30647</guid>
      <dc:creator>Banke</dc:creator>
      <dc:date>2021-09-08T01:23:14Z</dc:date>
    </item>
    <item>
      <title>Re: My dataset do not get stored in the permanent library i created</title>
      <link>https://communities.sas.com/t5/New-SAS-User/My-dataset-do-not-get-stored-in-the-permanent-library-i-created/m-p/766526#M30651</link>
      <description>&lt;P&gt;You need to run the LIBNAME statement every time you started a new SAS session.&lt;/P&gt;
&lt;P&gt;To avoid this, you need to include the LIBNAME in your autoexec (autoexec code in Enterprise Guide or SAS Studio, or autoexec.sas file of the SAS installation itself).&lt;/P&gt;</description>
      <pubDate>Wed, 08 Sep 2021 08:16:24 GMT</pubDate>
      <guid>https://communities.sas.com/t5/New-SAS-User/My-dataset-do-not-get-stored-in-the-permanent-library-i-created/m-p/766526#M30651</guid>
      <dc:creator>Kurt_Bremser</dc:creator>
      <dc:date>2021-09-08T08:16:24Z</dc:date>
    </item>
    <item>
      <title>Re: My dataset do not get stored in the permanent library i created</title>
      <link>https://communities.sas.com/t5/New-SAS-User/My-dataset-do-not-get-stored-in-the-permanent-library-i-created/m-p/766631#M30653</link>
      <description>&lt;P&gt;Thanks, how can i do this please? include the libname in&amp;nbsp;&lt;SPAN&gt;autoexec.sas file of the SAS installation itself?&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Wed, 08 Sep 2021 16:05:22 GMT</pubDate>
      <guid>https://communities.sas.com/t5/New-SAS-User/My-dataset-do-not-get-stored-in-the-permanent-library-i-created/m-p/766631#M30653</guid>
      <dc:creator>Banke</dc:creator>
      <dc:date>2021-09-08T16:05:22Z</dc:date>
    </item>
    <item>
      <title>Re: My dataset do not get stored in the permanent library i created</title>
      <link>https://communities.sas.com/t5/New-SAS-User/My-dataset-do-not-get-stored-in-the-permanent-library-i-created/m-p/766638#M30659</link>
      <description>&lt;P&gt;Where you put it depends on the way you use SAS.&lt;/P&gt;
&lt;P&gt;Is it a single-workstation setup on Windows, or a client-server setup?&lt;/P&gt;
&lt;P&gt;If the latter, how do you access it, with Enterprise Guide or SAS Studio?&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;And it is impirtant to know the scope where the library should be available. All users, or just you? And for just a single project, or every time SAS is used?&lt;/P&gt;</description>
      <pubDate>Wed, 08 Sep 2021 16:53:31 GMT</pubDate>
      <guid>https://communities.sas.com/t5/New-SAS-User/My-dataset-do-not-get-stored-in-the-permanent-library-i-created/m-p/766638#M30659</guid>
      <dc:creator>Kurt_Bremser</dc:creator>
      <dc:date>2021-09-08T16:53:31Z</dc:date>
    </item>
    <item>
      <title>Re: My dataset do not get stored in the permanent library i created</title>
      <link>https://communities.sas.com/t5/New-SAS-User/My-dataset-do-not-get-stored-in-the-permanent-library-i-created/m-p/766651#M30664</link>
      <description>&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;it is a single-workstation setup on Windows, i installed it. my university has the license&lt;/P&gt;&lt;P&gt;&amp;nbsp;i work directly on it. i have attached a snapshot of the interface. i am not sure whether it is studio or enterprise guide&lt;/P&gt;&lt;P&gt;i am the only user and i use it for my class projects&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 08 Sep 2021 17:07:48 GMT</pubDate>
      <guid>https://communities.sas.com/t5/New-SAS-User/My-dataset-do-not-get-stored-in-the-permanent-library-i-created/m-p/766651#M30664</guid>
      <dc:creator>Banke</dc:creator>
      <dc:date>2021-09-08T17:07:48Z</dc:date>
    </item>
    <item>
      <title>Re: My dataset do not get stored in the permanent library i created</title>
      <link>https://communities.sas.com/t5/New-SAS-User/My-dataset-do-not-get-stored-in-the-permanent-library-i-created/m-p/766672#M30667</link>
      <description>&lt;P&gt;You would know if you used Enterprise Guide, because you would start that application, not SAS itself.&lt;/P&gt;
&lt;P&gt;So I take it you use the native Display Manager UI, and simply start SAS 9.4.&lt;/P&gt;
&lt;P&gt;You can locate the autoexec.sas file in the SAS installation directory and insert the LIBNAME statement there.&lt;/P&gt;</description>
      <pubDate>Wed, 08 Sep 2021 19:04:21 GMT</pubDate>
      <guid>https://communities.sas.com/t5/New-SAS-User/My-dataset-do-not-get-stored-in-the-permanent-library-i-created/m-p/766672#M30667</guid>
      <dc:creator>Kurt_Bremser</dc:creator>
      <dc:date>2021-09-08T19:04:21Z</dc:date>
    </item>
    <item>
      <title>Re: My dataset do not get stored in the permanent library i created</title>
      <link>https://communities.sas.com/t5/New-SAS-User/My-dataset-do-not-get-stored-in-the-permanent-library-i-created/m-p/766688#M30668</link>
      <description>&lt;P&gt;Thank you. this is what my interface looks like&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Screenshot (315).png" style="width: 999px;"&gt;&lt;img src="https://communities.sas.com/t5/image/serverpage/image-id/63405i2D16FC1B509FE672/image-size/large?v=v2&amp;amp;px=999" role="button" title="Screenshot (315).png" alt="Screenshot (315).png" /&gt;&lt;/span&gt;&lt;/P&gt;</description>
      <pubDate>Wed, 08 Sep 2021 20:36:58 GMT</pubDate>
      <guid>https://communities.sas.com/t5/New-SAS-User/My-dataset-do-not-get-stored-in-the-permanent-library-i-created/m-p/766688#M30668</guid>
      <dc:creator>Banke</dc:creator>
      <dc:date>2021-09-08T20:36:58Z</dc:date>
    </item>
    <item>
      <title>Re: My dataset do not get stored in the permanent library i created</title>
      <link>https://communities.sas.com/t5/New-SAS-User/My-dataset-do-not-get-stored-in-the-permanent-library-i-created/m-p/766689#M30669</link>
      <description>MY APP IS SAS 9.4 (UNICODE SUPPORT)&lt;BR /&gt;</description>
      <pubDate>Wed, 08 Sep 2021 20:39:34 GMT</pubDate>
      <guid>https://communities.sas.com/t5/New-SAS-User/My-dataset-do-not-get-stored-in-the-permanent-library-i-created/m-p/766689#M30669</guid>
      <dc:creator>Banke</dc:creator>
      <dc:date>2021-09-08T20:39:34Z</dc:date>
    </item>
    <item>
      <title>Re: My dataset do not get stored in the permanent library i created</title>
      <link>https://communities.sas.com/t5/New-SAS-User/My-dataset-do-not-get-stored-in-the-permanent-library-i-created/m-p/766693#M30672</link>
      <description>&lt;P&gt;You are using the SAS Windowing Environment, not SAS Enterprise Guide or SAS Studio.&lt;/P&gt;</description>
      <pubDate>Wed, 08 Sep 2021 20:42:12 GMT</pubDate>
      <guid>https://communities.sas.com/t5/New-SAS-User/My-dataset-do-not-get-stored-in-the-permanent-library-i-created/m-p/766693#M30672</guid>
      <dc:creator>SASKiwi</dc:creator>
      <dc:date>2021-09-08T20:42:12Z</dc:date>
    </item>
    <item>
      <title>Re: My dataset do not get stored in the permanent library i created</title>
      <link>https://communities.sas.com/t5/New-SAS-User/My-dataset-do-not-get-stored-in-the-permanent-library-i-created/m-p/766695#M30673</link>
      <description>&lt;P&gt;is SAS studio or enterprise easier to use? i am a new SAS user and encountering lots of issues&lt;/P&gt;</description>
      <pubDate>Wed, 08 Sep 2021 20:43:48 GMT</pubDate>
      <guid>https://communities.sas.com/t5/New-SAS-User/My-dataset-do-not-get-stored-in-the-permanent-library-i-created/m-p/766695#M30673</guid>
      <dc:creator>Banke</dc:creator>
      <dc:date>2021-09-08T20:43:48Z</dc:date>
    </item>
    <item>
      <title>Re: My dataset do not get stored in the permanent library i created</title>
      <link>https://communities.sas.com/t5/New-SAS-User/My-dataset-do-not-get-stored-in-the-permanent-library-i-created/m-p/766767#M30694</link>
      <description>&lt;P&gt;If Enterprise Guide is included in your package, I would use it. The wizards for most procedures are quite handy to explore the procedures. It also allows selective "autoexec" code (sent before every submission, when a project is opened, or when a connection to a SAS process is established).&lt;/P&gt;</description>
      <pubDate>Thu, 09 Sep 2021 05:36:50 GMT</pubDate>
      <guid>https://communities.sas.com/t5/New-SAS-User/My-dataset-do-not-get-stored-in-the-permanent-library-i-created/m-p/766767#M30694</guid>
      <dc:creator>Kurt_Bremser</dc:creator>
      <dc:date>2021-09-09T05:36:50Z</dc:date>
    </item>
    <item>
      <title>Re: My dataset do not get stored in the permanent library i created</title>
      <link>https://communities.sas.com/t5/New-SAS-User/My-dataset-do-not-get-stored-in-the-permanent-library-i-created/m-p/766769#M30696</link>
      <description>&lt;P&gt;Right-click on the app icon, and select Properties. Then you can see the complete command used to start the SAS session.&lt;/P&gt;
&lt;P&gt;Usually, this command has a -autoexec option that contains the path to the autoexec.sas file, where you can insert the statement.&lt;/P&gt;</description>
      <pubDate>Thu, 09 Sep 2021 05:43:18 GMT</pubDate>
      <guid>https://communities.sas.com/t5/New-SAS-User/My-dataset-do-not-get-stored-in-the-permanent-library-i-created/m-p/766769#M30696</guid>
      <dc:creator>Kurt_Bremser</dc:creator>
      <dc:date>2021-09-09T05:43:18Z</dc:date>
    </item>
  </channel>
</rss>

