Hello, I have the following call to macro %maxl using call execute. It is called based on certain conditions within another macro. call execute('%nrbquote(%maxl(dsn='||currds||', lib1='||librar1||', lib2='||librar2||', pdbf='||pos1||', lib1f='||pos2||', setstr='||string2||', lib2f='||pos3||'));'); string2 will have a value like "set &lib1..&dsn;". I don't want the macro variable references within string2 to be resolved until string2 is used in the maxl macro. However, even with the use of %nrbquote SAS is trying to resolve the macro variable references in the string. Here is a excerpt from the log: MLOGIC(MAXL): Beginning execution. WARNING: Apparent symbolic reference LIB1 not resolved. WARNING: Apparent symbolic reference DSN not resolved. LIB1 and LIB2 are then resolved. MLOGIC(MAXL): Parameter SETSTR has value "set &lib1..&dsn;" Can anyone spot what I am missing? Thanks!
... View more