I have a global macro variable from another macro which looks like '01jan2014' when you print it in the log i.e. there are enforced quotemarks
I want to use this in a proc sql statement but I can't as it doesn't like the variable type.
How do I convert this into a date in the WHERE clause of my proc sql statement?