Date: Mon, 9 May 2005 11:13:18 -0400
Reply-To: Michael Tuchman <mftuchman@YAHOO.COM>
Sender: "SAS(r) Discussion" <SAS-L@LISTSERV.UGA.EDU>
From: Michael Tuchman <mftuchman@YAHOO.COM>
Subject: %fmtpath macro failes.
%fmtpath looks like a very useful macro, although in v8.2 it fails
%do i=1 %to %words(&cats);
%let cat=%scan(&cats,&i,%str( ));
%if not %index(&cat,.) %then %let cat=&cat..FORMATS;
%let catlist=&catlist &cat;
%end;
WARNING: Apparent invocation of macro WORDS not resolved.
SYMBOLGEN: Macro variable CATS resolves to ACTMOD LIBRARY WORK
ERROR: Required operator not found in expression: %WORDS(&CATS)
ERROR: The %TO value of the %DO I loop is invalid.
ERROR: The macro FMTPATH will stop executing.
435 %fmtpath
I did not find %words in the macro language dictionary of version 9.1.3.
|