Data work.my_data_file; Result_1 = CMISS('A', 'B', ''); Result_2 = CMISS('A', 'B', '55'); Result_3 = CMISS('!', '%'); Result_4 = CMISS('', ' ', ' '); Run; |
What's happening in the script above?
Variable | Input | Output | Description |
---|---|---|---|
Result_1 | 'A', 'B', '' | 1 | Returns the number of missing varchar values; 1 |
Result_2 | 'A', 'B', '55' | 0 | Returns the number of missing varchar values; 0 |
Result_3 | '!', '%' | 0 | Returns the number of missing varchar values; 0 |
Result_3 | '', ' ', ' ' | 3 | Returns the number of missing varchar values; 0 |
See also; NMISS Function
Kevin Regan
Have an article, idea, found a typo, want to contribute? Shoot me an email
Here
Below are links to some Udemy Data Science Courses. I've been using Udemy for a number of years now, and I've found their courses super helpful, maybe you will also.