<?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: SAS Programming 1: Essentials, Accessing Date, NP Library set up in Programming 1 and 2</title>
    <link>https://communities.sas.com/t5/Programming-1-and-2/SAS-Programming-1-Essentials-Accessing-Date-NP-Library-set-up/m-p/671633#M566</link>
    <description>I think your last sentence clarifies this issue for me. It looks like the instructions may need to be updated. I got the practice done; don't want others to get frustrated or complain.</description>
    <pubDate>Wed, 22 Jul 2020 22:10:36 GMT</pubDate>
    <dc:creator>Bpotter136</dc:creator>
    <dc:date>2020-07-22T22:10:36Z</dc:date>
    <item>
      <title>SAS Programming 1: Essentials, Accessing Date, NP Library set up</title>
      <link>https://communities.sas.com/t5/Programming-1-and-2/SAS-Programming-1-Essentials-Accessing-Date-NP-Library-set-up/m-p/671592#M564</link>
      <description>&lt;P&gt;In Programming I Essentials, I am using SAS Studio. The instructions are confusing. I had to use this line of code to get the NP library to appear correctly:&amp;nbsp;&lt;/P&gt;&lt;PRE&gt;libname np xlsx "&amp;amp;path/np_info.xlsx";&lt;/PRE&gt;&lt;P&gt;&amp;nbsp;Seems like the instructions say something else for using SAS Studio. Could you look into this issue please?&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Perform the following tasks in your SAS software:&lt;/P&gt;&lt;DIV class="question"&gt;&lt;UL&gt;&lt;LI&gt;Open a new program window.&lt;BR /&gt;Write a LIBNAME statement to create a library named&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;STRONG&gt;NP&lt;/STRONG&gt;&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;that reads&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;STRONG&gt;np_info.xlsx&lt;/STRONG&gt;&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;in the course data as follows:&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;LI&gt;Enterprise Guide: Specify&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;STRONG&gt;&amp;amp;path&lt;/STRONG&gt;&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;and the complete file name.&lt;/LI&gt;&lt;/UL&gt;&lt;/LI&gt;&lt;LI&gt;Run the LIBNAME statement.&lt;BR /&gt;Navigate to your list of libraries and open the&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;STRONG&gt;NP&lt;/STRONG&gt;&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;library. How many tables are there in the&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;STRONG&gt;NP&lt;/STRONG&gt;&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;library?&lt;/LI&gt;&lt;/UL&gt;&lt;/DIV&gt;&lt;DIV class="answer"&gt;&lt;PRE&gt;     
libname np xlsx "FILEPATH/np_info.xlsx"; 
/* Enterprise Guide: */
libname np xlsx "&amp;amp;path/np_info.xlsx"; &lt;/PRE&gt;There are three tables in the&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;STRONG&gt;NP&lt;/STRONG&gt;&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;library:&lt;SPAN&gt;&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;, and&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;STRONG&gt;Visits&lt;/STRONG&gt;.&lt;/DIV&gt;&lt;DIV class="question"&gt;&lt;UL&gt;&lt;LI&gt;Write an OPTIONS statement to ensure that column names follow SAS naming conventions.&lt;BR /&gt;Write a PROC CONTENTS step to read the&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;STRONG&gt;Parks&lt;/STRONG&gt;&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;table in the&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;STRONG&gt;NP&lt;/STRONG&gt;&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;library.&lt;BR /&gt;Add a LIBNAME statement after PROC CONTENTS to clear the&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;STRONG&gt;NP&lt;/STRONG&gt;&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;library.&lt;BR /&gt;Run the program and examine the log. Which column names have been modified to follow SAS naming conventions?&lt;/LI&gt;&lt;/UL&gt;&lt;/DIV&gt;&lt;DIV class="answer"&gt;&lt;PRE&gt;options validvarname=v7;
proc contents data=np.parks;
run;
libname np clear;&lt;/PRE&gt;&lt;STRONG&gt;&lt;BR /&gt;Park Code&lt;/STRONG&gt;&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;changed to&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;STRONG&gt;Park_Code&lt;/STRONG&gt;&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;and&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;STRONG&gt;Park Name&lt;/STRONG&gt;&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;changed to&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;STRONG&gt;Park_Name.&lt;/STRONG&gt;&lt;/DIV&gt;</description>
      <pubDate>Wed, 22 Jul 2020 20:12:19 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Programming-1-and-2/SAS-Programming-1-Essentials-Accessing-Date-NP-Library-set-up/m-p/671592#M564</guid>
      <dc:creator>Bpotter136</dc:creator>
      <dc:date>2020-07-22T20:12:19Z</dc:date>
    </item>
    <item>
      <title>Re: SAS Programming 1: Essentials, Accessing Date, NP Library set up</title>
      <link>https://communities.sas.com/t5/Programming-1-and-2/SAS-Programming-1-Essentials-Accessing-Date-NP-Library-set-up/m-p/671626#M565</link>
      <description>&lt;P&gt;What does the value of &amp;amp;path look like?&lt;/P&gt;
&lt;P&gt;If you aren't sure you should be able to submit code:&amp;nbsp; %put Path is: &amp;amp;path; and value should appear in the log as Path is: &amp;lt;something here&amp;gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;If &amp;amp;path looks like a drive and some folders then that is exactly what is meant by&lt;/P&gt;
&lt;BLOCKQUOTE&gt;
&lt;P&gt;Specify the full path to your&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;STRONG&gt;EPG1V2/data &lt;/STRONG&gt;folder&lt;STRONG&gt;&lt;BR /&gt;&lt;/STRONG&gt;&lt;/P&gt;
&lt;/BLOCKQUOTE&gt;
&lt;P&gt;And the file name is np_info.xlsx. The macro variable &amp;amp;path apparently has the Text needed to be equivalent to "FILENAME".&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;I suspect that the documentation may not be quite keeping up with the installation program contents.&lt;/P&gt;</description>
      <pubDate>Wed, 22 Jul 2020 21:46:55 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Programming-1-and-2/SAS-Programming-1-Essentials-Accessing-Date-NP-Library-set-up/m-p/671626#M565</guid>
      <dc:creator>ballardw</dc:creator>
      <dc:date>2020-07-22T21:46:55Z</dc:date>
    </item>
    <item>
      <title>Re: SAS Programming 1: Essentials, Accessing Date, NP Library set up</title>
      <link>https://communities.sas.com/t5/Programming-1-and-2/SAS-Programming-1-Essentials-Accessing-Date-NP-Library-set-up/m-p/671633#M566</link>
      <description>I think your last sentence clarifies this issue for me. It looks like the instructions may need to be updated. I got the practice done; don't want others to get frustrated or complain.</description>
      <pubDate>Wed, 22 Jul 2020 22:10:36 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Programming-1-and-2/SAS-Programming-1-Essentials-Accessing-Date-NP-Library-set-up/m-p/671633#M566</guid>
      <dc:creator>Bpotter136</dc:creator>
      <dc:date>2020-07-22T22:10:36Z</dc:date>
    </item>
  </channel>
</rss>

