Hello, I'm trying to create macros containing the first date of the month for all months in between certain dates (in the case below, it is a calendar year, but this will not be the case every time).
The bold part of the program (macro dates_month)is not working for me; I'm not sure why. I'm not concerned with the actual values at this point, I'm just trying to figure out why macros &Date1 - $Date12 are not being created.
Start = put(intnx('month',today(),-14),date9.);
firstday = intnx('month',today(),-2);
End = put((firstday - 1),date9.);