I'm trying to assign a text string to a macro variable using the code below. I've tried several different ways and none seem to be working. Any help for this macro newbie would be greatly appreciated. Thanks, StartYr = 2008; NxtYr=%eval(&StartYr + 1); Y1Y2 = %eval(cat(%eval(substr("&StartYr",3,2)),%eval(substr("&NxtYr",3,2)))); 1454 %Let Y1Y2 = %eval(cat(%eval(substr("&StartYr",3,2)),%eval(substr("&NxtYr",3,2)))); SYMBOLGEN: Macro variable STARTYR resolves to 2008 ERROR: Required operator not found in expression: substr("2008",3,2) SYMBOLGEN: Macro variable NXTYR resolves to 2009 ERROR: Required operator not found in expression: substr("2009",3,2) ERROR: Required operator not found in expression: cat(,)
... View more