BookmarkSubscribeRSS Feed
ChijiokeGodwin
Calcite | Level 5

helloo.....

please i need guidiance on how to complete my activity 2.03 of my SAS Programming 1.

The instructions given there isn't clear to me.

please kindly assist,

thanks

9 REPLIES 9
AMSAS
SAS Super FREQ

Can you share what the activity is, ie what are you being asked to do?

ChijiokeGodwin
Calcite | Level 5

Question 1 If necessary, start SAS Studio. Identify the full path for the data folder in your course files. Note: If you are using SAS Studio in SAS OnDemand for Academics, select Server Files and Folders in the left panel and expand Files (Home) > EPG1V2. Right-click the data folder and select Properties. Copy the text in the Location field. In a new program window, write a PROC CONTENTS step to generate a report of the storm_summary.sas7bdat table. Use the following code as a template. Be sure to specify the path to your data folder and the full name of the table. Note: Replace with the full path to the data folder. proc contents data="/storm_summary.sas7bdat"; run; Run the program. How many observations (rows) are in the table? Type a number for your answer. 1 point

Reeza
Super User

Ok, which part is causing the issue for you? 
Do you have SAS Studio launched?

 

ChijiokeGodwin
Calcite | Level 5
I Have a SAS Studio already I only need a guide on how to solve it....
Reeza
Super User

The instructions are:

 

Question 1 If necessary, start SAS Studio. Identify the full path for the data folder in your course files. Note: If you are using SAS Studio in SAS OnDemand for Academics, select Server Files and Folders in the left panel and expand Files (Home) > EPG1V2. Right-click the data folder and select Properties. Copy the text in the Location field. In a new program window, write a PROC CONTENTS step to generate a report of the storm_summary.sas7bdat table. Use the following code as a template. Be sure to specify the path to your data folder and the full name of the table. Note: Replace with the full path to the data folder. proc contents data="/storm_summary.sas7bdat"; run; Run the program. How many observations (rows) are in the table? Type a number for your answer. 1 point

 

  • Start SAS Studio
  • At the beginning of the course, you created the course content via a setup.sas file. Find that folder again, in Servers Folders Pane. Find the Storm_Summary file. 
  • Right click the file and copy the address. 
  • Use the sample code, Note: Replace with the full path to the data folder. proc contents data="/storm_summary.sas7bdat"; run;

 

ChijiokeGodwin
Calcite | Level 5
hello,
Thanks a lot I appreciate your prompt responses. Meanwhile I seems to be having challenge in understanding the last paragraph,, what is the Sample code? how do I replace with the full path to the data folder?
I understand every other itemized step you outlined except the last one. please assist
Cynthia_sas
SAS Super FREQ

Hi:

  Please go back to Lesson 2 and review the lecture on using PROC CONTENTS. Your question provided you with a sample of the PROC CONTENTS you need to submit and the course lecture showed a slightly different example:

Cynthia_sas_0-1659492849987.png

  In our e-learning course, we use the string "filepath" as a placeholder to show you where the full path location goes in the syntax. On the slide, the example is running PROC CONTENTS on the class_birthdate.sas7bdat file. I have annotated the screen shot to show a sample PROC CONTENTS for the storm_summary file. Please note, your code will ONLY work if you successfully created the data for the course.

  Please be sure that you have an EPG1V2 folder in SAS Studio and that under the EPG1V2 folder you have a data subfolder. Then make sure that you have a storm_summary.sas7bdat file in the data subfolder. You can right click on the file name and choose properties to get the full path. Or you can right click on the data subfolder and replace the word filepath (and ONLY the word filepath in my example) with the path to the data subfolder. Here are some sample codes for various operating systems:

Cynthia_sas_0-1659493730141.png

  Note how the filename and extension are the same for all the different possible operating systems, but the high level file path location is different. You should be able to figure out the PROC CONTENTS code you need by watching the video lectures or following the steps one by one to write the PROC CONTENTS code and then submit it to answer the rest of the questions.

Cynthia

 

PS: Also, your instructions don't look exactly like the instructions in our e-learning course so I wonder if you are taking this class from a professor who's using our course notes or possibly taking the course on Coursera or LinkedIn or some other platform. If that is the case and you still have issues, please send mail to elearn@sas.com for more help and let us know exactly how you are taking Programming 1.

 

Kondala
Calcite | Level 5
I couldn't find the zip file
Can u please tell me where the file is
Cynthia_sas
SAS Super FREQ

Hi:

  If you are take the Programming 1 class on the SAS e-learning servers, then inside the class, at the top of the List of Lessons or Table of Contents, there is a section entitled "Course Overview and Data Setup (REQUIRED)". You'll need to click into that section.

 

  Then, once inside the Course Overview and Data Setup section, you should see the e-learning topics on the left side of the screen, as shown below:

Cynthia_sas_0-1682021578581.png

Note that one of the topics on the left is titled "Setting Up Your Practice Files (REQUIRED)" and when you click that topic, you'll see a screen with several Open buttons. If you are going to use the internal Virtual Lab (the first link), then you do not need a zip file. The data are already created for you if you use the Virtual Lab. The other methods each have separate instructions under the Open button. A link to the zip file you need will be contained in these instructions. Warning -- the instructions are NOT interchangeable! For example, you can't use the Enterprise Guide instructions with SAS OnDemand for Academics and vice versa, you can't use SAS OnDemand instructions with Enterprise Guide.

 

  There are some other platforms that host Programming 1, such as LinkedIn and Coursera. If you are taking the class under one of those platforms, there should be a similar topic at the top of the list of lessons or weeks or chapters, with instructions for how to make the data for class.

Cynthia

sas-innovate-2024.png

Available on demand!

Missed SAS Innovate Las Vegas? Watch all the action for free! View the keynotes, general sessions and 22 breakouts on demand.

 

Register now!

Click image to register for webinarClick image to register for webinar

Classroom Training Available!

Select SAS Training centers are offering in-person courses. View upcoming courses for:

View all other training opportunities.

Discussion stats
  • 9 replies
  • 1875 views
  • 2 likes
  • 5 in conversation