I am trying to create a date dimension table. Here is my code: data date_dim; format date: date9.; do date='01JAN1990'd to '31DEC2089'd; date_yr_begin=intnx('Year', date, 0); output; end; run; The formatting does not work, however when I use the format statement with the variable names made expliciy, it does work. What's wrong?
... View more