Adding on to the excellent advice by @gamotte, you might be better served as keeping NA as missing rather than numeric zero, which can screw up averages and any other statistics you want to compute.
proc format;
invalue mynum 'NA'=.;
run;
... View more