If you use a list like "of thisvar -- thatvar" , note there are 2 dashes, then SAS uses the variable positions to build the list and gets all of the variables starting at thisvar and ending at thatvar.
@AJYass wrote:
OH! Okay thanks for point that out.
They are all uniquely named variables unfortunately.
The first is A1_1 and the final is Vstatus so the code should be
data want; set have; Countofmissing= cmiss(OF A1_1-Vstatus); run;
Is that correct? Thanks so much for all the help!
... View more