I am able to resolve the macro variable to the name I was expecting. But delete statement in the proc datasets is not getting recognized. How to make it work?
PROC DATASETS LIB=WORK NODETAILS NOLIST;
DELETE &INPUT._mi &INPUT._lc ;
RUN;
MPRINT(GET_true_value): PROC DATASETS LIB=WORK NODETAILS NOLIST;
NOTE: Line generated by the macro variable "INPUT".
108 work.true_value_mi
__________________
22
201
MPRINT(GET_true_value): DELETE work.true_value_mi work.true_value_lc ;
NOTE: Enter RUN; to continue or QUIT; to end the procedure.
MPRINT(GET_true_value): RUN;
ERROR 22-322: Expecting a name.
ERROR 201-322: The option is not recognized and will be ignored.
NOTE: Statements not processed because of errors noted above.
109