BookmarkSubscribeRSS Feed
mk133201
Calcite | Level 5

Hi, 

 

I am trying to follow through the below activity in Lesson 2. I am using the last.Basin statement but unfortunately it is not working... does anyone know why? 

 

Thanks 🙂 

 

Open p202a04.sas from the activities folder and perform the following tasks:

  • Change the WHERE statement to a subsetting IF statement and submit the program. How many rows are included in the output table?

 

if last.Basin = 1

 

mk133201_0-1658484587710.png

 

3 REPLIES 3
PaigeMiller
Diamond | Level 26

... unfortunately it is not working ...

 

Explain what you mean. Saying "it doesn't work" and not telling us the evidence that it doesn't work gets us nowhere.

--
Paige Miller
mk133201
Calcite | Level 5

Hi,

 

thanks for your msg, oops i just re-checked and seems i overlooked the output table names - hence seeing 54 rows in the output table and thought the last.Basin code wasn't working.  I would delete this post if i can, sorry for any inconveniences.  

 

 

ballardw
Super User

Just mark your message as the "solution". Then anyone seeing this thread from a search can see that the solution was "read the table name" or what ever correctly.

sas-innovate-white.png

Special offer for SAS Communities members

Save $250 on SAS Innovate and get a free advance copy of the new SAS For Dummies book! Use the code "SASforDummies" to register. Don't miss out, May 6-9, in Orlando, Florida.

 

View the full agenda.

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
  • 3 replies
  • 851 views
  • 0 likes
  • 3 in conversation