Not sure whether your request is so simple as the below coz like @Astounding pointed out, we do not know the bigger picture.
/*vyc's request i think*/
%let start= '01jan2014'd;
%let end= '01aug2018'd;
data wvyc;
do j=0 to intck('month',&start, &end);
base=intnx('month', &start,j);
array m(6);
do i=1 to dim(m);
m(i)=intnx('month',base,i) ;
end;
output;
end;
format base m: yymmd.;
drop i;
run;
If the above is not your requirement, i'll follow the thread tomorrow as i'm gonna sleep. Good night from Chicago!
... View more