Its fine that you have marked the answer as correct, as I'm sure it is correct.
But, there's no reason that PROC MEANS won't give you the correct maximum either ... and so again I conclude that there's something going in your specific data that you haven't told us about (and maybe it is something you aren't even aware of), and again I suspect you have formatted the variable somehow.
For anyone else reading along, PROC MEANS ought to do the job properly.
... View more