The Missing Function in SAS
Syntax for Missing Function : MISSING(numeric expression|character expression)
Description: The MISSING function checks whether the argument/expression has a missing value, and returns a numeric result. If the argument/expression does not contain a missing value, SAS returns a value of 0. If the argument/expression contains a missing value, SAS returns a value of 1.
Note: The MISSING function checks whether the argument has a missing value but does not change the value of the argument.
Example
Output
And The Log window
Got Questions? Please put them on comment box....
Cheers,
Syntax for Missing Function : MISSING(numeric expression|character expression)
Description: The MISSING function checks whether the argument/expression has a missing value, and returns a numeric result. If the argument/expression does not contain a missing value, SAS returns a value of 0. If the argument/expression contains a missing value, SAS returns a value of 1.
Note: The MISSING function checks whether the argument has a missing value but does not change the value of the argument.
Example
Output
And The Log window
Got Questions? Please put them on comment box....
Cheers,
No comments:
Post a Comment