Hi, I am trying to run PROC corr in order to obtain some rolling correlations based on 3 years. My main problem is that there is no enough internal space as the utility temporary file is really big ( I am dealing with more than 100M datapoints). Is there any way to avoid this utility temporary file to be saved on the SAS temporary files? I tried many things but neither of them worked. This is my code DATA rwin / view=rwin; array _X {1116} _temporary_ ; array _Y {1116} _temporary_ ; array _D {1116} _temporary_ ; set CORRELATIONS3; by PERMNO; retain N 0; N = ifn(first.PERMNO,1,N+1); I=mod(N-1,1116)+1; _X{I}=marketRET1; _Y{I}=stockRET1; _D{I}=day; if N>=1116 then do I= 1 to 1116; x=_X{I}; y=_Y{I}; d=_D{I}; output; end; run; proc corr data=rwin noprint NOPROB NOSIMPLE outp=Babcorr1(where=(_type_='CORR')); by permno N; var x; with y; quit;
... View more