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.

sas-innovate-2026-white.png



April 27 – 30 | Gaylord Texan | Grapevine, Texas

Registration is open

Walk in ready to learn. Walk out ready to deliver. This is the data and AI conference you can't afford to miss.
Register now and lock in 2025 pricing—just $495!

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
  • 1914 views
  • 1 like
  • 2 in conversation