<?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 Lesson 2:Understanding SAS Data-Activity in Programming 1 and 2</title>
    <link>https://communities.sas.com/t5/Programming-1-and-2/Lesson-2-Understanding-SAS-Data-Activity/m-p/873931#M1360</link>
    <description>&lt;P&gt;Hello,&amp;nbsp;&lt;/P&gt;&lt;P&gt;I'm using the SAS Studio to do the Activity of&amp;nbsp;Lesson 2:Understanding SAS Data:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;"Write a LIBNAME statement to create a library named&amp;nbsp;&lt;/SPAN&gt;&lt;STRONG&gt;NP&lt;/STRONG&gt;&lt;SPAN&gt;&amp;nbsp;that reads&amp;nbsp;&lt;/SPAN&gt;&lt;STRONG&gt;np_info.xlsx&lt;/STRONG&gt;&lt;SPAN&gt;&amp;nbsp;in the course data as follows:&lt;/SPAN&gt;&lt;/P&gt;&lt;UL&gt;&lt;LI&gt;SAS Studio: Specify the full path to your&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;STRONG&gt;EPG1V2/data&lt;/STRONG&gt;&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;folder and the complete file name."&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;I missed specifying the "XLSX" engine in the statement the first time, and the LOG showed "the Libref NP was successfully assigned," "Engind: EXCEL" as the pictures below.&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;Then I navigated to the list of libraries and open the&amp;nbsp;&lt;/SPAN&gt;&lt;STRONG&gt;NP&lt;/STRONG&gt;&lt;SPAN&gt;&amp;nbsp;library, there were four tables with "$" symbols of the tables&lt;/SPAN&gt;'&lt;SPAN&gt;&amp;nbsp;names, which were different from the correct results with the "XLSX" statement.&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;May I ask:&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;Q1: Why the&amp;nbsp;Libref NP was successfully assigned even if I missed the "XLSX" engine?&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;Q2: What is the difference between&amp;nbsp;"Engind: EXCEL" and&amp;nbsp;"Engind: XLSX"?&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;Q3: What is the&amp;nbsp;&lt;SPAN&gt;"$" mean on the tables' names? and why are those results?&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;&lt;SPAN&gt;Q4: What is the effect of missing the&amp;nbsp;"XLSX" engine when writing a LIBNAME statement and&amp;nbsp;creating a library?&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;&lt;SPAN&gt;Thanks a lot!&amp;nbsp;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;1.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;LIBNAME statement:&amp;nbsp;&amp;nbsp;&lt;/SPAN&gt;libname NP "S:/workshop/EPG1V2/data/np_info.xlsx";&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Eieioxinxin_0-1683218281206.png" style="width: 400px;"&gt;&lt;img src="https://communities.sas.com/t5/image/serverpage/image-id/83615iA3D124C3DB93BDCC/image-size/medium?v=v2&amp;amp;px=400" role="button" title="Eieioxinxin_0-1683218281206.png" alt="Eieioxinxin_0-1683218281206.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Screenshot 2023-05-04 123555.png" style="width: 262px;"&gt;&lt;img src="https://communities.sas.com/t5/image/serverpage/image-id/83616iC2B65B37D4E4B43D/image-dimensions/262x242?v=v2" width="262" height="242" role="button" title="Screenshot 2023-05-04 123555.png" alt="Screenshot 2023-05-04 123555.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt; &lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;2. Correct results&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;LIBNAME statement:&amp;nbsp;&lt;/SPAN&gt;libname NP XLSX "S:/workshop/EPG1V2/data/np_info.xlsx";&lt;/P&gt;&lt;P&gt;The LOG showed "the Libref NP was successfully assigned," and&amp;nbsp;"Engind: XLSX."&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Screenshot 2023-05-04 123701.png" style="width: 400px;"&gt;&lt;img src="https://communities.sas.com/t5/image/serverpage/image-id/83619i8116A17B131CA16A/image-size/medium?v=v2&amp;amp;px=400" role="button" title="Screenshot 2023-05-04 123701.png" alt="Screenshot 2023-05-04 123701.png" /&gt;&lt;/span&gt; &lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;There are three tables in the&amp;nbsp;&lt;/SPAN&gt;&lt;STRONG&gt;NP&lt;/STRONG&gt;&lt;SPAN&gt;&amp;nbsp;library:&amp;nbsp;&lt;/SPAN&gt;&lt;STRONG&gt;Parks&lt;/STRONG&gt;&lt;SPAN&gt;,&amp;nbsp;&lt;/SPAN&gt;&lt;STRONG&gt;Species&lt;/STRONG&gt;&lt;SPAN&gt;, and&amp;nbsp;&lt;/SPAN&gt;&lt;STRONG&gt;Visits&lt;/STRONG&gt;&lt;SPAN&gt;.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Screenshot 2023-05-04 123650.png" style="width: 198px;"&gt;&lt;img src="https://communities.sas.com/t5/image/serverpage/image-id/83618i5082F46E01E1B828/image-dimensions/198x296?v=v2" width="198" height="296" role="button" title="Screenshot 2023-05-04 123650.png" alt="Screenshot 2023-05-04 123650.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt; &lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Thu, 04 May 2023 16:59:57 GMT</pubDate>
    <dc:creator>Eieioxinxin</dc:creator>
    <dc:date>2023-05-04T16:59:57Z</dc:date>
    <item>
      <title>Lesson 2:Understanding SAS Data-Activity</title>
      <link>https://communities.sas.com/t5/Programming-1-and-2/Lesson-2-Understanding-SAS-Data-Activity/m-p/873931#M1360</link>
      <description>&lt;P&gt;Hello,&amp;nbsp;&lt;/P&gt;&lt;P&gt;I'm using the SAS Studio to do the Activity of&amp;nbsp;Lesson 2:Understanding SAS Data:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;"Write a LIBNAME statement to create a library named&amp;nbsp;&lt;/SPAN&gt;&lt;STRONG&gt;NP&lt;/STRONG&gt;&lt;SPAN&gt;&amp;nbsp;that reads&amp;nbsp;&lt;/SPAN&gt;&lt;STRONG&gt;np_info.xlsx&lt;/STRONG&gt;&lt;SPAN&gt;&amp;nbsp;in the course data as follows:&lt;/SPAN&gt;&lt;/P&gt;&lt;UL&gt;&lt;LI&gt;SAS Studio: Specify the full path to your&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;STRONG&gt;EPG1V2/data&lt;/STRONG&gt;&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;folder and the complete file name."&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;I missed specifying the "XLSX" engine in the statement the first time, and the LOG showed "the Libref NP was successfully assigned," "Engind: EXCEL" as the pictures below.&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;Then I navigated to the list of libraries and open the&amp;nbsp;&lt;/SPAN&gt;&lt;STRONG&gt;NP&lt;/STRONG&gt;&lt;SPAN&gt;&amp;nbsp;library, there were four tables with "$" symbols of the tables&lt;/SPAN&gt;'&lt;SPAN&gt;&amp;nbsp;names, which were different from the correct results with the "XLSX" statement.&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;May I ask:&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;Q1: Why the&amp;nbsp;Libref NP was successfully assigned even if I missed the "XLSX" engine?&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;Q2: What is the difference between&amp;nbsp;"Engind: EXCEL" and&amp;nbsp;"Engind: XLSX"?&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;Q3: What is the&amp;nbsp;&lt;SPAN&gt;"$" mean on the tables' names? and why are those results?&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;&lt;SPAN&gt;Q4: What is the effect of missing the&amp;nbsp;"XLSX" engine when writing a LIBNAME statement and&amp;nbsp;creating a library?&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;&lt;SPAN&gt;Thanks a lot!&amp;nbsp;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;1.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;LIBNAME statement:&amp;nbsp;&amp;nbsp;&lt;/SPAN&gt;libname NP "S:/workshop/EPG1V2/data/np_info.xlsx";&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Eieioxinxin_0-1683218281206.png" style="width: 400px;"&gt;&lt;img src="https://communities.sas.com/t5/image/serverpage/image-id/83615iA3D124C3DB93BDCC/image-size/medium?v=v2&amp;amp;px=400" role="button" title="Eieioxinxin_0-1683218281206.png" alt="Eieioxinxin_0-1683218281206.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Screenshot 2023-05-04 123555.png" style="width: 262px;"&gt;&lt;img src="https://communities.sas.com/t5/image/serverpage/image-id/83616iC2B65B37D4E4B43D/image-dimensions/262x242?v=v2" width="262" height="242" role="button" title="Screenshot 2023-05-04 123555.png" alt="Screenshot 2023-05-04 123555.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt; &lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;2. Correct results&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;LIBNAME statement:&amp;nbsp;&lt;/SPAN&gt;libname NP XLSX "S:/workshop/EPG1V2/data/np_info.xlsx";&lt;/P&gt;&lt;P&gt;The LOG showed "the Libref NP was successfully assigned," and&amp;nbsp;"Engind: XLSX."&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Screenshot 2023-05-04 123701.png" style="width: 400px;"&gt;&lt;img src="https://communities.sas.com/t5/image/serverpage/image-id/83619i8116A17B131CA16A/image-size/medium?v=v2&amp;amp;px=400" role="button" title="Screenshot 2023-05-04 123701.png" alt="Screenshot 2023-05-04 123701.png" /&gt;&lt;/span&gt; &lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;There are three tables in the&amp;nbsp;&lt;/SPAN&gt;&lt;STRONG&gt;NP&lt;/STRONG&gt;&lt;SPAN&gt;&amp;nbsp;library:&amp;nbsp;&lt;/SPAN&gt;&lt;STRONG&gt;Parks&lt;/STRONG&gt;&lt;SPAN&gt;,&amp;nbsp;&lt;/SPAN&gt;&lt;STRONG&gt;Species&lt;/STRONG&gt;&lt;SPAN&gt;, and&amp;nbsp;&lt;/SPAN&gt;&lt;STRONG&gt;Visits&lt;/STRONG&gt;&lt;SPAN&gt;.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Screenshot 2023-05-04 123650.png" style="width: 198px;"&gt;&lt;img src="https://communities.sas.com/t5/image/serverpage/image-id/83618i5082F46E01E1B828/image-dimensions/198x296?v=v2" width="198" height="296" role="button" title="Screenshot 2023-05-04 123650.png" alt="Screenshot 2023-05-04 123650.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt; &lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 04 May 2023 16:59:57 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Programming-1-and-2/Lesson-2-Understanding-SAS-Data-Activity/m-p/873931#M1360</guid>
      <dc:creator>Eieioxinxin</dc:creator>
      <dc:date>2023-05-04T16:59:57Z</dc:date>
    </item>
    <item>
      <title>Re: Lesson 2:Understanding SAS Data-Activity</title>
      <link>https://communities.sas.com/t5/Programming-1-and-2/Lesson-2-Understanding-SAS-Data-Activity/m-p/873989#M1361</link>
      <description>&lt;BLOCKQUOTE&gt;&lt;HR /&gt;&lt;a href="https://communities.sas.com/t5/user/viewprofilepage/user-id/442448"&gt;@Eieioxinxin&lt;/a&gt;&amp;nbsp;wrote:&lt;BR /&gt;
&lt;P&gt;Hello,&amp;nbsp;&lt;/P&gt;
&lt;P&gt;I'm using the SAS Studio to do the Activity of&amp;nbsp;Lesson 2:Understanding SAS Data:&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;"Write a LIBNAME statement to create a library named&amp;nbsp;&lt;/SPAN&gt;&lt;STRONG&gt;NP&lt;/STRONG&gt;&lt;SPAN&gt;&amp;nbsp;that reads&amp;nbsp;&lt;/SPAN&gt;&lt;STRONG&gt;np_info.xlsx&lt;/STRONG&gt;&lt;SPAN&gt;&amp;nbsp;in the course data as follows:&lt;/SPAN&gt;&lt;/P&gt;
&lt;UL&gt;
&lt;LI&gt;SAS Studio: Specify the full path to your&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;STRONG&gt;EPG1V2/data&lt;/STRONG&gt;&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;folder and the complete file name."&lt;/LI&gt;
&lt;/UL&gt;
&lt;P&gt;I missed specifying the "XLSX" engine in the statement the first time, and the LOG showed "the Libref NP was successfully assigned," "Engind: EXCEL" as the pictures below.&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;Then I navigated to the list of libraries and open the&amp;nbsp;&lt;/SPAN&gt;&lt;STRONG&gt;NP&lt;/STRONG&gt;&lt;SPAN&gt;&amp;nbsp;library, there were four tables with "$" symbols of the tables&lt;/SPAN&gt;'&lt;SPAN&gt;&amp;nbsp;names, which were different from the correct results with the "XLSX" statement.&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;May I ask:&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;Q1: Why the&amp;nbsp;Libref NP was successfully assigned even if I missed the "XLSX" engine?&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;Q2: What is the difference between&amp;nbsp;"Engind: EXCEL" and&amp;nbsp;"Engind: XLSX"?&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;Q3: What is the&amp;nbsp;&lt;SPAN&gt;"$" mean on the tables' names? and why are those results?&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;&lt;SPAN&gt;Q4: What is the effect of missing the&amp;nbsp;"XLSX" engine when writing a LIBNAME statement and&amp;nbsp;creating a library?&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;/BLOCKQUOTE&gt;
&lt;P&gt;Q1 and Q4 are basically the same.&lt;/P&gt;
&lt;P&gt;I do not know your set up but there is a SAS system option calle DLCREATEDIR. With limits that means when a LIBNAME statement is used and the last directory in the path doesn't exist then SAS will create it for you. But it should be Folder. Depending on your file system your might find that&amp;nbsp; you have folder in the Data folder with that Xlsx name in addition to the actual xlsx file.&lt;/P&gt;
&lt;P&gt;Q2:&amp;nbsp; Which versions of Excel files are intended. Excel has been around for 30+ years and has gone through many file formats. One of the most noticeable changes are the numbers of rows and columns that may be used.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Not sure about the $ though.&lt;/P&gt;</description>
      <pubDate>Thu, 04 May 2023 19:45:35 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Programming-1-and-2/Lesson-2-Understanding-SAS-Data-Activity/m-p/873989#M1361</guid>
      <dc:creator>ballardw</dc:creator>
      <dc:date>2023-05-04T19:45:35Z</dc:date>
    </item>
  </channel>
</rss>

