How to get Sas missing values in a separate dataset

sas
missing_values

#1

Respected sir,
I wrote following code to extract the missing and non missing values in my dataset. Now what do I want to have missing values seperately in a dataset dse using output statement? How to do it for all the variables?


Basically I want to find out the loss of records in my dataset if I delete all the missing values. I can’t use cmiss and nmiss because i am working on WPS system it does not support them properly. Is there any other method by which i can do so.?

regards
Pragya