Intriguing question. I haven't tested this code, which I found here:
http://www.science.gmu.edu/stat362/02f/sas12.htm
but worth a try...
%MACRO MovAve(ds,v,ln);
%* This adds to the specified dataset, the moving
average of the specified variable over a given
length.
The name of the...