...by the way, another thing like that: divide by zero errors. If you have something like a=x/y with no influence to the input data, you should always check y
if y not in (0 .) then do; a=x/y; end; else do; a=.; /* or whatever */ end;