Asked • 04/21/19

How to delete blank observations in a data set in SAS?

I want to delete ALL blank observations from a data set. I only know how to get rid of blanks from one variable: data a; set data(where=(var1 ne .)) ; run; Here I set a new data set without the blanks from var1. But how to do it, when I want to get rid of ALL the blanks in the whole data set? Thanks in advance for your answers.

1 Expert Answer


Rick A. answered • 04/21/19

5 (33)

Experienced SAS Professional

Still looking for help? Get the right answer, fast.

Ask a question for free

Get a free answer to a quick problem.
Most questions answered within 4 hours.


Find an Online Tutor Now

Choose an expert and meet online. No packages or subscriptions, pay only for the time you need.