BookmarkSubscribeRSS Feed
B1010
Calcite | Level 5

Open p102a07.sas from the activities folder and perform the following tasks: 

  1. If necessary, update the path of the course files in the LIBNAME statement.
  2. Complete the PROC CONTENTS step to read the parks table in the NP library.
  3. Run the program. Navigate to your list of libraries and expand the NP library. Confirm that three tables are included: Parks, Species, and Visits.
  4. Examine the log. Which column names were modified to follow SAS naming conventions? 

Uncomment the final LIBNAME statement and run it to clear the NP library.

 

How should this code look?

4 REPLIES 4
JosvanderVelden
SAS Super FREQ
That depends on the sas environment you are using to train. Are you using SAS Studio from SAS OnDemand for Academics? Or another environment?
B1010
Calcite | Level 5
Sas studio for academics
tom_grant
SAS Employee

Your libname statement should be:

libname np xlsx "~/EPG1V2/data/np_info.xlsx";   

 

The ~ points to your Files(Home) folder.

 

Then you can select the PARKS worksheet for the proc contents using np.parks.

Reeza
Super User

Did you open the p102a07.sas file which has the template code for you?

 

 

SAS INNOVATE 2024

Innovate_SAS_Blue.png

Registration is open! SAS is returning to Vegas for an AI and analytics experience like no other! Whether you're an executive, manager, end user or SAS partner, SAS Innovate is designed for everyone on your team. Register for just $495 by 12/31/2023.

If you are interested in speaking, there is still time to submit a session idea. More details are posted on the website. 

Register now!

5 Steps to Your First Analytics Project Using SAS

For SAS newbies, this video is a great way to get started. James Harroun walks through the process using SAS Studio for SAS OnDemand for Academics, but the same steps apply to any analytics project.

Find more tutorials on the SAS Users YouTube channel.

Discussion stats
  • 4 replies
  • 540 views
  • 0 likes
  • 4 in conversation