Check For Null Values: In Sas

If you want to audit an entire dataset rather than filtering row-by-row, use PROC FREQ or PROC MEANS. Missing Values in SAS - ListenData

if missing(variable_name) then do; /* Action for missing value */ end; Use code with caution. Copied to clipboard Check For Null Values In Sas

Use a blank space enclosed in quotes. if name = ' ' then flag = "Missing"; Use code with caution. Copied to clipboard 2. Checking Multiple Variables at Once If you want to audit an entire dataset