06-20-2013 11:27 AM
I am trying to create a date dimension table. Here is my code:
format date: date9.;
do date='01JAN1990'd to '31DEC2089'd;
date_yr_begin=intnx('Year', date, 0);
The formatting does not work, however when I use the format statement with the variable names made expliciy, it does work. What's wrong?
06-20-2013 11:59 AM
if you have difficulty understanding DN's precise answer, here is one in action: move your format statement after the loop.
Need further help from the community? Please ask a new question.