DATA Step, Macro, Functions and more

How to remove the entire row from SAS dataset?

Reply
Super Contributor
Posts: 398

How to remove the entire row from SAS dataset?

Hi all:

My data starts at 2nd row.  Therefore, I use firstobs option in data step.  However, I found the row are still there.  How to remove it?  Thanks.

 

data EducationCA2009;

set EducationCA2009 (FIRSTOBS=2);

run;

Super User
Posts: 10,524

Re: How to remove the entire row from SAS dataset?

- post the log

- count the number of rows before and after the step

---------------------------------------------------------------------------------------------
Maxims of Maximally Efficient SAS Programmers
How to convert datasets to data steps
How to post code
Ask a Question
Discussion stats
  • 1 reply
  • 75 views
  • 0 likes
  • 2 in conversation