- Mark as New
- Bookmark
- Subscribe
- Mute
- RSS Feed
- Permalink
- Report Inappropriate Content
Posted 01-31-2022 01:43 PM
(1250 views)
Hello,
I am completing the activity in lesson 2 and I can't seem to get the proc contents statement right. I'm copying the file path from the file properties folder so I don't know why it won't work. Any help appreciated. Attaching the activity as well as screenshot of SAS studio.
The activity
Screenshot of my log with the code I wrote, copying it from the file properties window thats open, and the error I'm receiving 😞
4 REPLIES 4
- Mark as New
- Bookmark
- Subscribe
- Mute
- RSS Feed
- Permalink
- Report Inappropriate Content
Looks like you are missing quotation marks around the value passed to data=.
The Boston Area SAS Users Group is hosting free webinars!
Next up: Rick Wicklin presents Ten Tips for Effective Statistical Graphics (with SAS code) on Wednesday March 26.
Register now at https://www.basug.org/events.
Next up: Rick Wicklin presents Ten Tips for Effective Statistical Graphics (with SAS code) on Wednesday March 26.
Register now at https://www.basug.org/events.
- Mark as New
- Bookmark
- Subscribe
- Mute
- RSS Feed
- Permalink
- Report Inappropriate Content
Looks like you are missing the quotation marks.
- Mark as New
- Bookmark
- Subscribe
- Mute
- RSS Feed
- Permalink
- Report Inappropriate Content
Hi:
In addition to missing the quotation marks around the entire path it also looks like you did not copy the full path. Note that in your File Properties window, the entire path starts with a / before the home:
/home/u60771593/EPG1V2/data/storm_summary.sas7bdat
So you have 2 corrections to make in your code and then the PROC CONTENTS should work.
Cynthia
In addition to missing the quotation marks around the entire path it also looks like you did not copy the full path. Note that in your File Properties window, the entire path starts with a / before the home:
/home/u60771593/EPG1V2/data/storm_summary.sas7bdat
So you have 2 corrections to make in your code and then the PROC CONTENTS should work.
Cynthia
- Mark as New
- Bookmark
- Subscribe
- Mute
- RSS Feed
- Permalink
- Report Inappropriate Content
I swear I tried this LOL but I tried it again and it worked thank you so much!