In reply to Michelle B..

Because the macro variable is created by the DATA step, the macro is not created until the DATA step runs.