Post the log with the code an results of
data _null_;
call symput('MthKeyCurrent', "'" put(&EndMonth,yymmn6.));
call symput('MthKey1Prior', "'" put(intnx('month',&EndMonth,-1,'e'),yymmn6.));
call symput('MthKey2Prior', "'" put(intnx('month',&EndMonth,-2,'e'),yymmn6.));
call symput('PMADDate', "'"||put(&EndMonth,mmddyy10.)||"'");
call symput('DWDate', "'"||put(&EndMonth,yymmdd10.)||"'");
run;
%put &MthKeyCurrent &MthKey1Prior &MthKey2Prior &PMADDate &DWDate;
can someone help?
Also paste it into a codebox opened with the forum {i} menu icon to preserve formating of the error messages.
it will also help to provide the values you had for &endmonth.
... View more