06-12-2014 11:09 AM
I Have a dataset with 5 variables a, b, c, d and e
I have to write a program to find out if the variable is null(individual vaaribles) for all recs. If so, then output ‘NULL’ to Comment column.
06-13-2014 05:31 PM
Note that you have used the OF styntax wrong. Since you also included commas the OF only applies to the variables listed up until the first comma.
So CMISS(of A,B,C,D,E) is the same as CMISS(A,B,C,D,E) .
The power of the OF syntax is when you want to use variable lists or just eliminate the annoying commas.
CMISS(of A B C D E)
Need further help from the community? Please ask a new question.