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-white.png

Our biggest data and AI event of the year.

Don’t miss the livestream kicking off May 7. It’s free. It’s easy. And it’s the best seat in the house.

Join us virtually with our complimentary SAS Innovate Digital Pass. Watch live or on-demand in multiple languages, with translations available to help you get the most out of every session.

 

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