BookmarkSubscribeRSS Feed
☑ This topic is solved. Need further help from the community? Please sign in and ask a new question.
OliviaOk
Calcite | Level 5

I wrote this line of code to solve one of the practice questions in Lesson 5 of Programming 1 but it's not returning any observations: 

ODS Graphics On;
ODS noproctitle;
title "Categories of Reported Species";
title2 "in the Everglades";
proc freq data=pg1.np_species order=freq;
tables Category / nocum plots=freqplot;
where Species_ID like "Ever%" and
Category ne "Vascular Plant";
run;
title;

When I checked the solution it showed this line of code which appears to be the same thing to me but it returns observations: 

ods graphics on;
ods noproctitle;
title1 "Categories of Reported Species";
title2 "in the Everglades";
proc freq data=pg1.np_species order=freq;
tables Category / nocum plots=freqplot;
where Species_ID like "EVER%" and
Category ne "Vascular Plant";
run;
title;

 Are they the same or am I missing something here?

1 ACCEPTED SOLUTION
2 REPLIES 2
OliviaOk
Calcite | Level 5
Wow, thank you. It’s the little things, I really didn’t notice that.

hackathon24-white-horiz.png

2025 SAS Hackathon: There is still time!

Good news: We've extended SAS Hackathon registration until Sept. 12, so you still have time to be part of our biggest event yet – our five-year anniversary!

Register Now

LIBNAME 101

Follow along as SAS technical trainer Dominique Weatherspoon expertly answers all your questions about SAS Libraries.

Find more tutorials on the SAS Users YouTube channel.

Discussion stats
  • 2 replies
  • 1771 views
  • 1 like
  • 2 in conversation