<?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: Lesson 3: pg1 Library Issue in Programming 1 and 2</title>
    <link>https://communities.sas.com/t5/Programming-1-and-2/Lesson-3-pg1-Library-Issue/m-p/744488#M772</link>
    <description>&lt;P&gt;I messaged technical support about this issue, and they found a solution. I will post it here for future reference, if anyone else has this issue.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I had the setting Enable Accessible PDF option under Preferences &amp;gt; Results checked. It needs to be unchecked and the program works! Please see the included screenshot:&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="carbonec_0-1622223288110.png" style="width: 400px;"&gt;&lt;img src="https://communities.sas.com/t5/image/serverpage/image-id/59863iB5E3A045DF37D3FB/image-size/medium?v=v2&amp;amp;px=400" role="button" title="carbonec_0-1622223288110.png" alt="carbonec_0-1622223288110.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Fri, 28 May 2021 18:04:34 GMT</pubDate>
    <dc:creator>carbonec</dc:creator>
    <dc:date>2021-05-28T18:04:34Z</dc:date>
    <item>
      <title>Lesson 3: pg1 Library Issue</title>
      <link>https://communities.sas.com/t5/Programming-1-and-2/Lesson-3-pg1-Library-Issue/m-p/743743#M765</link>
      <description>&lt;P&gt;Hello!&lt;/P&gt;&lt;P&gt;I have been working on the first demo for Lesson 3 on SAS Studio in SAS OnDemand for Academics. I started off with reloading the pg1 library file. When trying to run the print procedure for the pg1.storm_summary data set, I receive the following error message:&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="SAS error Message.png" style="width: 757px;"&gt;&lt;img src="https://communities.sas.com/t5/image/serverpage/image-id/59743i85551931F2F5784E/image-size/large?v=v2&amp;amp;px=999" role="button" title="SAS error Message.png" alt="SAS error Message.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;The code I used is (without the extra comments from the practice file):&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;PRE&gt;&lt;CODE class=" language-sas"&gt;proc print data=sashelp.cars;
	var Make Model Type MSRP MPG_City MPG_Highway;
	where Type="SUV" and MSRP &amp;lt;= 30000;
run;	


proc print data=pg1.storm_summary;
	*Add WHERE statement;
run;&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;I received the following in the log.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;&lt;DIV class="sasNote"&gt;&lt;PRE&gt;&lt;CODE class=" language-sas"&gt;1 OPTIONS NONOTES NOSTIMER NOSOURCE NOSYNTAXCHECK;
72
73 proc print data=pg1.storm_summary;
74 *Add WHERE statement;
75 run;


ERROR: An exception has been encountered.
Please contact technical support and provide them with the following traceback information:

The SAS task name is [PRINT (2]
Segmentation Violation

Traceback of the Exception:

/pbr/sfw/sas/940/SASFoundation/9.4/sasexe/sas(+0x16844e) [0x55a4d874544e]
/pbr/sfw/sas/940/SASFoundation/9.4/sasexe/sas(+0x4ee1f) [0x55a4d862be1f]
/pbr/sfw/sas/940/SASFoundation/9.4/sasexe/tkmk.so(bkt_signal_handler+0x144) [0x7f690174aac4]
/lib64/libpthread.so.0(+0xf5f0) [0x7f6902d735f0]
/pbr/sfw/sas/940/SASFoundation/9.4/dbcs/sasexe/saspdpdf(__intel_ssse3_rep_memcpy+0x45) [0x7f68a484f8e5]
/pbr/sfw/sas/940/SASFoundation/9.4/dbcs/sasexe/saspdpdf(+0xa6897) [0x7f68a4800897]
/pbr/sfw/sas/940/SASFoundation/9.4/dbcs/sasexe/saspdpdf(setGroupStructureValues+0xeba) [0x7f68a47f573a]
/pbr/sfw/sas/940/SASFoundation/9.4/dbcs/sasexe/saspdpdf(+0xafc56) [0x7f68a4809c56]
/pbr/sfw/sas/940/SASFoundation/9.4/dbcs/sasexe/saspdpdf(parsePdfElements+0x1118) [0x7f68a4808f38]
/pbr/sfw/sas/940/SASFoundation/9.4/dbcs/sasexe/saspdpdf(processAccessibilityValues+0x3b) [0x7f68a4807deb]
/pbr/sfw/sas/940/SASFoundation/9.4/dbcs/sasexe/saspdpdf(yugextn+0x2a8) [0x7f68a4784d38]
/pbr/sfw/sas/940/SASFoundation/9.4/sasexe/saspso(render_page+0xe68) [0x7f68a4c7cad8]
/pbr/sfw/sas/940/SASFoundation/9.4/sasexe/saspso(place_+0x3aae) [0x7f68a4c8be4e]
/pbr/sfw/sas/940/SASFoundation/9.4/sasexe/saspso(+0x4603b) [0x7f68a4c9f03b]
/pbr/sfw/sas/940/SASFoundation/9.4/sasexe/saspso(+0x44172) [0x7f68a4c9d172]
/pbr/sfw/sas/940/SASFoundation/9.4/sasexe/saspso(+0x432b7) [0x7f68a4c9c2b7]
/pbr/sfw/sas/940/SASFoundation/9.4/sasexe/saspso(wobmth+0x57) [0x7f68a4ceb567]
/pbr/sfw/sas/940/SASFoundation/9.4/sasexe/saspso(+0x481a1) [0x7f68a4ca11a1]
/pbr/sfw/sas/940/SASFoundation/9.4/dbcs/sasexe/sasmrk(wobmth+0x57) [0x7f68a7eaa057]
/pbr/sfw/sas/940/SASFoundation/9.4/dbcs/sasexe/sasmrk(+0x1b863) [0x7f68a7da4863]
/pbr/sfw/sas/940/SASFoundation/9.4/sasexe/saspso(wobmth+0x57) [0x7f68a4ceb567]
/pbr/sfw/sas/940/SASFoundation/9.4/sasexe/saspso(+0x2b7f1) [0x7f68a4c847f1]
/pbr/sfw/sas/940/SASFoundation/9.4/dbcs/sasexe/sasprt7(wobmth+0x57) [0x7f68a1e858d7]
/pbr/sfw/sas/940/SASFoundation/9.4/dbcs/sasexe/sasprt7(+0x1385e) [0x7f68a1e8085e]

NOTE: The SAS System stopped processing this step because of errors.

ERROR: An exception has been encountered.
Please contact technical support and provide them with the following traceback information:

The SAS task name is [PRINT (2]
Segmentation Violation

NOTE: There were 3118 observations read from the data set PG1.STORM_SUMMARY.
NOTE: PROCEDURE PRINT used (Total process time):
real time 4.63 seconds
user cpu time 4.48 seconds
system cpu time 0.15 seconds
memory 236205.34k
OS Memory 292328.00k
Timestamp 05/26/2021 03:11:01 AM
Step Count 35 Switch Count 0
Page Faults 0
Page Reclaims 69426
Page Swaps 0
Voluntary Context Switches 10
Involuntary Context Switches 5
Block Input Operations 0
Block Output Operations 3168&lt;/CODE&gt;&lt;/PRE&gt;&lt;/DIV&gt;&lt;DIV class="sasNote"&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV class="sasNote"&gt;&lt;SPAN style="font-family: inherit;"&gt;I then re-ran the program, since the pg1 library is active. Here is the code again, with no changes:&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV class="sasNote"&gt;&lt;PRE&gt;&lt;CODE class=" language-sas"&gt;proc print data=sashelp.cars; 
	var Make Model Type MSRP MPG_City MPG_Highway; 
	where Type="SUV" and MSRP &amp;lt;= 30000; 
run;	

proc print data=pg1.storm_summary; 
	*Add WHERE statement; 
run; &lt;/CODE&gt;&lt;/PRE&gt;&lt;SPAN style="font-family: inherit;"&gt;I now received the following in the log:&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV class="sasNote"&gt;&lt;DIV class="dijitContentPane dijitBorderContainer-child dijitBorderContainer-dijitContentPane dijitBorderContainerPane dijitAlignCenter dijitContentPaneSingleChild"&gt;&lt;DIV class="dijitBorderContainer dijitContainer row-fluid dijitLayoutContainer"&gt;&lt;DIV class="dijitContentPane dijitBorderContainer-child dijitBorderContainer-dijitContentPane dijitBorderContainerPane dijitAlignCenter dijitContentPaneSingleChild"&gt;&lt;DIV class="tabs dijitBorderContainer dijitContainer dojoDndTarget sasStudioTabsParentContainer dijitLayoutContainer dojoDndContainerOver"&gt;&lt;DIV class="dijitTabContainer dijitTabContainerTop dijitContainer dijitLayoutContainer tabStrip-disabled sasStudioTabsTabContainer sasStudioTabsTabContainerVertical sasStudioTabsTop dijitBorderContainer-child dijitBorderContainer-dijitTabContainerTop dijitBorderContainerPane dijitAlignCenter"&gt;&lt;DIV class="dijitTabPaneWrapper dijitTabContainerTop-container dijitAlignCenter"&gt;&lt;DIV class="dijitTabContainerTopChildWrapper dijitVisible"&gt;&lt;DIV class="dijitBorderContainer dijitContainer sasStudioTabsTabContainerChild dijitTabPane dijitTabContainerTop-child dijitTabContainerTop-dijitBorderContainer dijitLayoutContainer"&gt;&lt;DIV class="dijitBorderContainer dijitContainer dojoDndTarget dijitBorderContainer-child dijitBorderContainer-dijitBorderContainer dijitBorderContainerPane dijitAlignCenter dijitLayoutContainer dojoDndContainerOver"&gt;&lt;DIV class="dijitTabContainer dijitTabContainerTop dijitContainer dijitLayoutContainer tabStrip-disabled sasSuiteTabs dijitBorderContainer-child dijitBorderContainer-dijitTabContainerTop dijitBorderContainerPane dijitAlignCenter"&gt;&lt;DIV class="dijitTabPaneWrapper dijitTabContainerTop-container dijitAlignCenter"&gt;&lt;DIV class="dijitTabContainerTopChildWrapper dijitVisible"&gt;&lt;DIV class="dijitBorderContainer dijitContainer dijitTabPane dijitTabContainerTop-child dijitTabContainerTop-dijitBorderContainer dijitLayoutContainer"&gt;&lt;DIV class="dijitBorderContainer dijitContainer dijitBorderContainer-child dijitBorderContainer-dijitBorderContainer dijitBorderContainerPane dijitAlignCenter dijitLayoutContainer"&gt;&lt;DIV class="dijitContentPane dijitBorderContainer-child dijitBorderContainer-dijitContentPane dijitBorderContainerPane dijitAlignCenter"&gt;&lt;DIV&gt;&lt;DIV&gt;&lt;DIV class="sasSource"&gt;&lt;PRE&gt;&lt;CODE class=" language-sas"&gt;1 OPTIONS NONOTES NOSTIMER NOSOURCE NOSYNTAXCHECK;
72
73
74 proc print data=sashelp.cars;
75 var Make Model Type MSRP MPG_City MPG_Highway;
76 where Type="SUV" and MSRP &amp;lt;= 30000;
77 run;

NOTE: There were 26 observations read from the data set SASHELP.CARS.
WHERE (Type='SUV') and (MSRP&amp;lt;=30000);
NOTE: PROCEDURE PRINT used (Total process time):
real time 0.07 seconds
user cpu time 0.07 seconds
system cpu time 0.00 seconds
memory 5118.71k
OS Memory 29352.00k
Timestamp 05/26/2021 03:15:25 AM
Step Count 25 Switch Count 0
Page Faults 0
Page Reclaims 1055
Page Swaps 0
Voluntary Context Switches 0
Involuntary Context Switches 0
Block Input Operations 0
Block Output Operations 16


77 !
78
79
80 proc print data=pg1.storm_summary;
ERROR: Libref PG1 is not assigned.
81 *Add WHERE statement;
82 run;

NOTE: The SAS System stopped processing this step because of errors.
NOTE: PROCEDURE PRINT used (Total process time):
real time 0.00 seconds
user cpu time 0.00 seconds
system cpu time 0.00 seconds
memory 216.93k
OS Memory 29348.00k
Timestamp 05/26/2021 03:15:25 AM
Step Count 26 Switch Count 0
Page Faults 0
Page Reclaims 27
Page Swaps 0
Voluntary Context Switches 0
Involuntary Context Switches 0
Block Input Operations 0
Block Output Operations 0

83
84
85 OPTIONS NONOTES NOSTIMER NOSOURCE NOSYNTAXCHECK;
97&lt;/CODE&gt;&lt;/PRE&gt;&lt;/DIV&gt;&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;/DIV&gt;&lt;/DIV&gt;&lt;/DIV&gt;&lt;/DIV&gt;&lt;/DIV&gt;&lt;/DIV&gt;&lt;/DIV&gt;&lt;/DIV&gt;&lt;/DIV&gt;&lt;/DIV&gt;&lt;/DIV&gt;&lt;/DIV&gt;&lt;/DIV&gt;&lt;/DIV&gt;&lt;/DIV&gt;&lt;/DIV&gt;&lt;DIV class="dijitContentPane statusBar dijitBorderContainer-child dijitBorderContainer-dijitContentPane dijitBorderContainerPane dijitAlignBottom"&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV class="dijitContentPane statusBar dijitBorderContainer-child dijitBorderContainer-dijitContentPane dijitBorderContainerPane dijitAlignBottom"&gt;The pg1 library disappears. I then re-ran the library.sas file and the process described above follows again.&lt;/DIV&gt;&lt;SPAN style="font-family: inherit;"&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;/DIV&gt;&lt;/DIV&gt;</description>
      <pubDate>Wed, 26 May 2021 03:21:35 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Programming-1-and-2/Lesson-3-pg1-Library-Issue/m-p/743743#M765</guid>
      <dc:creator>carbonec</dc:creator>
      <dc:date>2021-05-26T03:21:35Z</dc:date>
    </item>
    <item>
      <title>Re: Lesson 3: pg1 Library Issue</title>
      <link>https://communities.sas.com/t5/Programming-1-and-2/Lesson-3-pg1-Library-Issue/m-p/743786#M766</link>
      <description>&lt;P&gt;Interesting. Lots of errors related to LIBRARY but no code for how the LIBRARY is established.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;I suggest that you show the LIBNAME code submitted and the LOG from that.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Typically those exceptions indicate that you either submitted some code that was so unexpected the SAS programmers couldn't provide an appropriate check/error message OR sometimes indicate a SAS installation problem. There are also odd times if you copy and paste code from some sourced, like word processor files or websites, that there are characters that you do not see in the editor that can cause all sorts of odd problems.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;This bit:&lt;/P&gt;
&lt;PRE class="language-sas"&gt;&lt;CODE&gt;80 proc print data=pg1.storm_summary;
ERROR: Libref PG1 is not assigned.
81 *Add WHERE statement;
82 run;
&lt;/CODE&gt;&lt;/PRE&gt;
&lt;P&gt;Means that the Library PG1 is NOT "active".&lt;/P&gt;</description>
      <pubDate>Wed, 26 May 2021 09:20:02 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Programming-1-and-2/Lesson-3-pg1-Library-Issue/m-p/743786#M766</guid>
      <dc:creator>ballardw</dc:creator>
      <dc:date>2021-05-26T09:20:02Z</dc:date>
    </item>
    <item>
      <title>Re: Lesson 3: pg1 Library Issue</title>
      <link>https://communities.sas.com/t5/Programming-1-and-2/Lesson-3-pg1-Library-Issue/m-p/743934#M771</link>
      <description>&lt;P&gt;The code I used for the library is:&lt;/P&gt;&lt;PRE&gt;&lt;CODE class=" language-sas"&gt;libname pg1 "/home/u43530149/EPG1V2/data";&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;The following is the log, after I run this:&lt;/P&gt;&lt;PRE&gt; 1          OPTIONS NONOTES NOSTIMER NOSOURCE NOSYNTAXCHECK;
 72         
 73         libname pg1 "/home/u43530149/EPG1V2/data";
 NOTE: Libref PG1 was successfully assigned as follows: 
       Engine:        V9 
       Physical Name: /home/u43530149/EPG1V2/data
 74         
 75         
 76         OPTIONS NONOTES NOSTIMER NOSOURCE NOSYNTAXCHECK;
 88         &lt;/PRE&gt;</description>
      <pubDate>Wed, 26 May 2021 16:01:47 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Programming-1-and-2/Lesson-3-pg1-Library-Issue/m-p/743934#M771</guid>
      <dc:creator>carbonec</dc:creator>
      <dc:date>2021-05-26T16:01:47Z</dc:date>
    </item>
    <item>
      <title>Re: Lesson 3: pg1 Library Issue</title>
      <link>https://communities.sas.com/t5/Programming-1-and-2/Lesson-3-pg1-Library-Issue/m-p/744488#M772</link>
      <description>&lt;P&gt;I messaged technical support about this issue, and they found a solution. I will post it here for future reference, if anyone else has this issue.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I had the setting Enable Accessible PDF option under Preferences &amp;gt; Results checked. It needs to be unchecked and the program works! Please see the included screenshot:&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="carbonec_0-1622223288110.png" style="width: 400px;"&gt;&lt;img src="https://communities.sas.com/t5/image/serverpage/image-id/59863iB5E3A045DF37D3FB/image-size/medium?v=v2&amp;amp;px=400" role="button" title="carbonec_0-1622223288110.png" alt="carbonec_0-1622223288110.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 28 May 2021 18:04:34 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Programming-1-and-2/Lesson-3-pg1-Library-Issue/m-p/744488#M772</guid>
      <dc:creator>carbonec</dc:creator>
      <dc:date>2021-05-28T18:04:34Z</dc:date>
    </item>
  </channel>
</rss>

