A numeric variable will have a '.' for missing. Your statement is creating flag as a numeric variable if start_time ne time2 then flag=1; (numeric flag -- all missing will be .) But if you did: if start_time ne time2 then flag='1'; (character variable missing would be blank) cynthia
... View more