it would have been helpful to know what you have tried....
In what context do you want to use this macro variable?
Would it be in a where clause, logic test, assignment statement, E.G., WRS, ....?
Have you tried
pstqtr = "&valqtr" ;
or
pstqtr = "%sysfunc( inputn(&valqtr, yyq4))";
Available on demand!
Missed SAS Innovate Las Vegas? Watch all the action for free! View the keynotes, general sessions and 22 breakouts on demand.