Hi! I have the files 123.txt, 456.txt and 789.txt and a program like this: ******************************************************* ... %let n= 123.txt; ... ******************************************************* And I need to replace with 456.txt and 789.txt, and run again. I'm trying this: ***************************************************** %macro mb(stg); ... %let n= &stg..txt; ... %mend; %let gball="123 456 789"; %do %while (&k<=3); %let gb=scan(&gball,&k); %mb(&gb); %let k=k+1; %end; ***************************************************** You can note that I'm not very expert with macro, so any comment is very usefull. Thanks for yours answers!!
... View more