PROC STANDARD standardizes all numeric variables to a mean of 1 and a standard deviation of 0. REPLACE replaces missing values. PRINT prints statistics.
proc standard data=lifexp mean=0 std=1 replace print out=zscore;