Since .z is the largest of all (numeric) missing values in SAS (._ < . < .a < .b < ... < .z), the condition .z < LD is a convenient way to abbreviate not missing(LD), i.e., numeric variable LD has a non-missing value.
So your IF/THEN statement could also be written as
It's called a special missing values and allows you the ability to have different types of missing, for example missing due to someone not answering a question is different than someone not answering a question because it's not applicable. Special missing allow you the ability to consider these separately or group them as needed.
.z is a special missing value. There are 28 different missing values in SAS, the one you are probably familiar is represent by a dot. However, there is also .a, .b, ... ,.z and also ._
So whoever created this code intended .z to indicate missing with a special meaning.
Thanks! Now i know that .Z is a missing value but, what I dont get is what the person who created the code trying to say by (.z< LD). I am having hard time understanding "missing value < LD". its confusing
Since .z is the largest of all (numeric) missing values in SAS (._ < . < .a < .b < ... < .z), the condition .z < LD is a convenient way to abbreviate not missing(LD), i.e., numeric variable LD has a non-missing value.
So your IF/THEN statement could also be written as
if not missing(LD) and LD le 80 then Test = 1;
The 2025 SAS Hackathon Kicks Off on June 11!
Watch the live Hackathon Kickoff to get all the essential information about the SAS Hackathon—including how to join, how to participate, and expert tips for success.