<?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: Library PG1 does not exist. in Programming 1 and 2</title>
    <link>https://communities.sas.com/t5/Programming-1-and-2/Library-PG1-does-not-exist/m-p/708989#M685</link>
    <description>&lt;P&gt;See my answer&amp;nbsp;&lt;A href="https://communities.sas.com/t5/New-SAS-User/Library-does-not-exist/m-p/708988/highlight/true#M26648" target="_blank" rel="noopener"&gt;here&lt;/A&gt;.&lt;/P&gt;</description>
    <pubDate>Fri, 01 Jan 2021 10:32:53 GMT</pubDate>
    <dc:creator>Kurt_Bremser</dc:creator>
    <dc:date>2021-01-01T10:32:53Z</dc:date>
    <item>
      <title>Library PG1 does not exist.</title>
      <link>https://communities.sas.com/t5/Programming-1-and-2/Library-PG1-does-not-exist/m-p/708981#M682</link>
      <description>&lt;P&gt;Hi all,&amp;nbsp;&lt;BR /&gt;I am a new SAS user and working now on essential training.&amp;nbsp;&lt;BR /&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Screen Shot 2021-01-01 at 1.44.00 AM.png" style="width: 481px;"&gt;&lt;img src="https://communities.sas.com/t5/image/serverpage/image-id/53166i29ED1DD41830641C/image-dimensions/481x46?v=v2" width="481" height="46" role="button" title="Screen Shot 2021-01-01 at 1.44.00 AM.png" alt="Screen Shot 2021-01-01 at 1.44.00 AM.png" /&gt;&lt;/span&gt;&lt;BR /&gt;&lt;BR /&gt;Using SAS on demand on MacBook Air.&amp;nbsp;&lt;BR /&gt;I am trying to create library by using this statement&amp;nbsp; &amp;lt;libname pg1 ':/home/user id /sasuser.v94/p104d04.sas';&amp;gt;&lt;BR /&gt;the library pg1 created but empty from data that I already upload it on cloud folder.&amp;nbsp;&lt;BR /&gt;I read previous answers about this problem but failed. I followed the instructions for file path.&amp;nbsp;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Screen Shot 2021-01-01 at 1.39.16 AM.png" style="width: 568px;"&gt;&lt;img src="https://communities.sas.com/t5/image/serverpage/image-id/53165i48ECB518772DC195/image-size/large?v=v2&amp;amp;px=999" role="button" title="Screen Shot 2021-01-01 at 1.39.16 AM.png" alt="Screen Shot 2021-01-01 at 1.39.16 AM.png" /&gt;&lt;/span&gt;&lt;/P&gt;</description>
      <pubDate>Fri, 01 Jan 2021 06:47:25 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Programming-1-and-2/Library-PG1-does-not-exist/m-p/708981#M682</guid>
      <dc:creator>olaelsakhawy</dc:creator>
      <dc:date>2021-01-01T06:47:25Z</dc:date>
    </item>
    <item>
      <title>Re: Library PG1 does not exist.</title>
      <link>https://communities.sas.com/t5/Programming-1-and-2/Library-PG1-does-not-exist/m-p/708984#M683</link>
      <description>&lt;P&gt;It seems that PG1 is a file in ODUT folder and not a library.&lt;/P&gt;
&lt;P&gt;The libname should be:&lt;/P&gt;
&lt;PRE&gt;&lt;CODE class=" language-sas"&gt;libname ODTUT "&amp;lt;path to the folder&amp;gt;";&lt;/CODE&gt;&lt;/PRE&gt;
&lt;P&gt;then, suppose PG1 is a sas dataset you refer to it as ODOUT.PG1 in a SET statement of a data step&lt;/P&gt;
&lt;P&gt;or DATA=&amp;nbsp;statement of a procedure.&lt;/P&gt;</description>
      <pubDate>Fri, 01 Jan 2021 07:45:18 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Programming-1-and-2/Library-PG1-does-not-exist/m-p/708984#M683</guid>
      <dc:creator>Shmuel</dc:creator>
      <dc:date>2021-01-01T07:45:18Z</dc:date>
    </item>
    <item>
      <title>Re: Library PG1 does not exist.</title>
      <link>https://communities.sas.com/t5/Programming-1-and-2/Library-PG1-does-not-exist/m-p/708985#M684</link>
      <description>If you right click on ODUT folder you will get its path.</description>
      <pubDate>Fri, 01 Jan 2021 07:46:42 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Programming-1-and-2/Library-PG1-does-not-exist/m-p/708985#M684</guid>
      <dc:creator>Shmuel</dc:creator>
      <dc:date>2021-01-01T07:46:42Z</dc:date>
    </item>
    <item>
      <title>Re: Library PG1 does not exist.</title>
      <link>https://communities.sas.com/t5/Programming-1-and-2/Library-PG1-does-not-exist/m-p/708989#M685</link>
      <description>&lt;P&gt;See my answer&amp;nbsp;&lt;A href="https://communities.sas.com/t5/New-SAS-User/Library-does-not-exist/m-p/708988/highlight/true#M26648" target="_blank" rel="noopener"&gt;here&lt;/A&gt;.&lt;/P&gt;</description>
      <pubDate>Fri, 01 Jan 2021 10:32:53 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Programming-1-and-2/Library-PG1-does-not-exist/m-p/708989#M685</guid>
      <dc:creator>Kurt_Bremser</dc:creator>
      <dc:date>2021-01-01T10:32:53Z</dc:date>
    </item>
    <item>
      <title>Re: Library PG1 does not exist.</title>
      <link>https://communities.sas.com/t5/Programming-1-and-2/Library-PG1-does-not-exist/m-p/709006#M686</link>
      <description>&lt;P&gt;Hi:&lt;/P&gt;
&lt;P&gt;&amp;nbsp; Please go back to the Course Overview and Data Setup section of the course. We have specific instructions for how to make the data when using the SAS OnDemand server. First, to debug your issue, go to the &lt;STRONG&gt;Server Files and Folders&lt;/STRONG&gt; pane (NOT the Libraries pane). Then directly under the &lt;STRONG&gt;Files (Home)&lt;/STRONG&gt; top node, do you see an &lt;STRONG&gt;EPG1V2&lt;/STRONG&gt; folder? If you do&lt;U&gt; NOT&lt;/U&gt; have an &lt;STRONG&gt;EPG1V2&lt;/STRONG&gt; folder under &lt;STRONG&gt;Files (Home)&lt;/STRONG&gt;, then you did &lt;U&gt;NOT&lt;/U&gt; follow the setup instructions correctly.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp; So that's the very first thing you need to do. It doesn't matter whether you are on a Mac or a Windows machine. Using SAS OnDemand is the same -- accessed from a browser -- no matter which system you're on. Here's a video that shows exactly how to make the data when you're using SAS OnDemand for Academics:&lt;/P&gt;
&lt;P&gt;&lt;A href="https://youtu.be/piTtnbzODPs" target="_blank"&gt;https://youtu.be/piTtnbzODPs&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp; Until you follow the directions in the Course Overview section, which are demo'd in the video, your PG1 library will not be created correctly. Assuming you have set things up correctly, then EVERY OnDemand student will have the SAME LIBNAME statement:&lt;/P&gt;
&lt;P&gt;&lt;FONT face="courier new,courier"&gt;&lt;STRONG&gt;libname PG1 '/home/&lt;FONT color="#FF00FF"&gt;&amp;lt;userID&amp;gt;&lt;/FONT&gt;/EPG1V2/data';&lt;/STRONG&gt;&lt;/FONT&gt;&lt;/P&gt;
&lt;P&gt;where &lt;FONT color="#FF00FF"&gt;&lt;STRONG&gt;&amp;lt;userID&amp;gt;&lt;/STRONG&gt;&lt;/FONT&gt; is your userID for the OnDemand account. Here are some examples;&lt;/P&gt;
&lt;P&gt;&lt;FONT face="courier new,courier"&gt;&lt;STRONG&gt;libname PG1 '/home/&lt;FONT color="#FF00FF"&gt;jdoe0&lt;/FONT&gt;/EPG1V2/data';&lt;/STRONG&gt;&lt;/FONT&gt;&lt;/P&gt;
&lt;P&gt;&lt;FONT face="courier new,courier"&gt;&lt;STRONG&gt;libname PG1 '/home/&lt;FONT color="#FF00FF"&gt;u123456&lt;/FONT&gt;/EPG1V2/data';&lt;/STRONG&gt;&lt;/FONT&gt;&lt;/P&gt;
&lt;P&gt;&lt;FONT face="courier new,courier"&gt;&lt;STRONG&gt;libname PG1 '/home/&lt;FONT color="#FF00FF"&gt;fransmith0&lt;/FONT&gt;/EPG1V2/data';&lt;/STRONG&gt;&lt;/FONT&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;FONT face="arial,helvetica,sans-serif"&gt;&amp;nbsp; For our setup instructions to work, you must have an &lt;STRONG&gt;EPG1V2&lt;/STRONG&gt; folder directly under the main &lt;STRONG&gt;Files (Home)&lt;/STRONG&gt; top node and you must run the setup/creation program which makes all the subfolders and all the SAS data in the &lt;STRONG&gt;data&lt;/STRONG&gt; subfolder that you will need for class. But the LIBNAME statement will NOT work unless you do the setup first.&lt;/FONT&gt;&lt;/P&gt;
&lt;P&gt;&lt;FONT face="arial,helvetica,sans-serif"&gt;&amp;nbsp; Hope this helps,&lt;/FONT&gt;&lt;/P&gt;
&lt;P&gt;&lt;FONT face="arial,helvetica,sans-serif"&gt;Cynthia&lt;/FONT&gt;&lt;/P&gt;</description>
      <pubDate>Fri, 01 Jan 2021 16:14:16 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Programming-1-and-2/Library-PG1-does-not-exist/m-p/709006#M686</guid>
      <dc:creator>Cynthia_sas</dc:creator>
      <dc:date>2021-01-01T16:14:16Z</dc:date>
    </item>
    <item>
      <title>Re: Library PG1 does not exist.</title>
      <link>https://communities.sas.com/t5/Programming-1-and-2/Library-PG1-does-not-exist/m-p/709012#M687</link>
      <description>&lt;P&gt;&lt;SPAN&gt;Thank you Cynthia.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;This work with me.&amp;nbsp;&lt;/SPAN&gt;&lt;BR /&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Screen Shot 2021-01-01 at 11.40.58 AM.png" style="width: 999px;"&gt;&lt;img src="https://communities.sas.com/t5/image/serverpage/image-id/53172iC46F288752C3A36D/image-size/large?v=v2&amp;amp;px=999" role="button" title="Screen Shot 2021-01-01 at 11.40.58 AM.png" alt="Screen Shot 2021-01-01 at 11.40.58 AM.png" /&gt;&lt;/span&gt;&lt;/P&gt;</description>
      <pubDate>Fri, 01 Jan 2021 16:47:25 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Programming-1-and-2/Library-PG1-does-not-exist/m-p/709012#M687</guid>
      <dc:creator>olaelsakhawy</dc:creator>
      <dc:date>2021-01-01T16:47:25Z</dc:date>
    </item>
    <item>
      <title>Re: Library PG1 does not exist.</title>
      <link>https://communities.sas.com/t5/Programming-1-and-2/Library-PG1-does-not-exist/m-p/826897#M1145</link>
      <description>&lt;P&gt;Hi Cynthia,&lt;/P&gt;&lt;P&gt;Could you please help me clarify why we need to use user ID to create Pg1 instead of the filepath as the lesson instruction?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thank you.&lt;/P&gt;</description>
      <pubDate>Wed, 03 Aug 2022 14:53:47 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Programming-1-and-2/Library-PG1-does-not-exist/m-p/826897#M1145</guid>
      <dc:creator>Thuong</dc:creator>
      <dc:date>2022-08-03T14:53:47Z</dc:date>
    </item>
    <item>
      <title>Re: Library PG1 does not exist.</title>
      <link>https://communities.sas.com/t5/Programming-1-and-2/Library-PG1-does-not-exist/m-p/826930#M1146</link>
      <description>&lt;P&gt;There are different instructions for different SAS setups&lt;/P&gt;
&lt;UL&gt;
&lt;LI&gt;locally on a Windows PC, with Display Manager or Enterprise Guide as frontend&lt;/LI&gt;
&lt;LI&gt;client/server with Enterprise Guide&lt;/LI&gt;
&lt;LI&gt;client/server with SAS Studio&lt;/LI&gt;
&lt;/UL&gt;
&lt;P&gt;SAS On Demand is the latter, and files must reside in a subdirectory of your HOME directory on the Linux server, so you cannot use your local paths.&lt;/P&gt;</description>
      <pubDate>Wed, 03 Aug 2022 16:05:42 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Programming-1-and-2/Library-PG1-does-not-exist/m-p/826930#M1146</guid>
      <dc:creator>Kurt_Bremser</dc:creator>
      <dc:date>2022-08-03T16:05:42Z</dc:date>
    </item>
    <item>
      <title>Re: Library PG1 does not exist.</title>
      <link>https://communities.sas.com/t5/Programming-1-and-2/Library-PG1-does-not-exist/m-p/826982#M1147</link>
      <description>Hi:&lt;BR /&gt;  You only need to use the userID on the SAS OnDemand for Academics server because your userID is part of the physical location of the file on the server. On SAS OnDemand for Academics, if you right click on the Files (Home) top node and choose Properties, you will see a Properties window with a  location like this:&lt;BR /&gt;/home/u12345678   (where u12345678 is your unique user id)&lt;BR /&gt;&lt;BR /&gt;  Then, if you have a folder called WOMBAT under the Files (Home) top node, and you right click on the WOMBAT folder and choose Properties, then the location would be:&lt;BR /&gt;/home/u12345678/WOMBAT&lt;BR /&gt;&lt;BR /&gt;and then, if you have an EPG1V2 folder under the Files(Home) location, the physical path would be:&lt;BR /&gt;/home/u12345678/EPG1V2&lt;BR /&gt;&lt;BR /&gt;and so, if you have a data subfolder under the EPG1V2 folder that's under Files (Home) and you click to find the Properties of the data subfolder, that physical path location would be:&lt;BR /&gt;/home/u12345678/EPG1V2/data&lt;BR /&gt;&lt;BR /&gt;  On the other hand, on my personal Windows machine, with a local copy of SAS, I have a SAS_Class folder with the EPG1V2 folder under that location, and the data subfolder is under&lt;BR /&gt;&lt;BR /&gt;  So, as you see, your userID on the SAS OnDemand for Academics server includes your unique userID as part of the physical path on the server.&lt;BR /&gt;&lt;BR /&gt;Cynthia&lt;BR /&gt;&lt;BR /&gt;</description>
      <pubDate>Wed, 03 Aug 2022 19:23:02 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Programming-1-and-2/Library-PG1-does-not-exist/m-p/826982#M1147</guid>
      <dc:creator>Cynthia_sas</dc:creator>
      <dc:date>2022-08-03T19:23:02Z</dc:date>
    </item>
    <item>
      <title>Re: Library PG1 does not exist.</title>
      <link>https://communities.sas.com/t5/Programming-1-and-2/Library-PG1-does-not-exist/m-p/826986#M1148</link>
      <description>&lt;P&gt;You are over complicating things.&amp;nbsp; Every Unix machine I have used in the last 10-20 years has allowed the use of ~ to indicate your home directory.&amp;nbsp; So no need for these SAS novices to know what their home directory is called in SAS ODA.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;PRE&gt; 69         libname me '~/';
 NOTE: Libref ME was successfully assigned as follows: 
       Engine:        V9 
       Physical Name: /home/tom.XXXX&lt;/PRE&gt;
&lt;P&gt;So just use:&lt;/P&gt;
&lt;PRE&gt;&lt;CODE class=" language-sas"&gt;libname PG1 '~/EPG1V2/data';&lt;/CODE&gt;&lt;/PRE&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 03 Aug 2022 19:37:13 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Programming-1-and-2/Library-PG1-does-not-exist/m-p/826986#M1148</guid>
      <dc:creator>Tom</dc:creator>
      <dc:date>2022-08-03T19:37:13Z</dc:date>
    </item>
    <item>
      <title>Re: Library PG1 does not exist.</title>
      <link>https://communities.sas.com/t5/Programming-1-and-2/Library-PG1-does-not-exist/m-p/827018#M1153</link>
      <description>&lt;P&gt;Thanks &lt;a href="https://communities.sas.com/t5/user/viewprofilepage/user-id/159"&gt;@Tom&lt;/a&gt;, you are correct. And, in the setup instructions for Programming 1, we have THIS information. (green highlights are mine)&lt;BR /&gt;Cynthia&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Cynthia_sas_0-1659563177321.png" style="width: 400px;"&gt;&lt;img src="https://communities.sas.com/t5/image/serverpage/image-id/74090iF3743E6CFBEDFD8E/image-size/medium?v=v2&amp;amp;px=400" role="button" title="Cynthia_sas_0-1659563177321.png" alt="Cynthia_sas_0-1659563177321.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 03 Aug 2022 21:46:33 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Programming-1-and-2/Library-PG1-does-not-exist/m-p/827018#M1153</guid>
      <dc:creator>Cynthia_sas</dc:creator>
      <dc:date>2022-08-03T21:46:33Z</dc:date>
    </item>
    <item>
      <title>Re: Library PG1 does not exist.</title>
      <link>https://communities.sas.com/t5/Programming-1-and-2/Library-PG1-does-not-exist/m-p/827078#M1154</link>
      <description>Thanks Kurt</description>
      <pubDate>Thu, 04 Aug 2022 10:26:03 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Programming-1-and-2/Library-PG1-does-not-exist/m-p/827078#M1154</guid>
      <dc:creator>Thuong</dc:creator>
      <dc:date>2022-08-04T10:26:03Z</dc:date>
    </item>
    <item>
      <title>Re: Library PG1 does not exist.</title>
      <link>https://communities.sas.com/t5/Programming-1-and-2/Library-PG1-does-not-exist/m-p/827079#M1155</link>
      <description>&lt;P&gt;Much appreciate your clarification &lt;span class="lia-unicode-emoji" title=":slightly_smiling_face:"&gt;🙂&lt;/span&gt;&lt;/P&gt;</description>
      <pubDate>Thu, 04 Aug 2022 10:26:30 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Programming-1-and-2/Library-PG1-does-not-exist/m-p/827079#M1155</guid>
      <dc:creator>Thuong</dc:creator>
      <dc:date>2022-08-04T10:26:30Z</dc:date>
    </item>
  </channel>
</rss>

