Hello SAS users! Please see code below. I'm having trouble referencing the following parameters %printz(10-0120, 10-0220) in place of %printz(courses, schedule). The parameters I want to use are in the format 10-0120 but SAS reads them as two separate parameters (10 and 0120). Please help! %macro printz/parmbuff; %put Syspbuff contains: &syspbuff; %let num=1; %let dsname=%scan(&syspbuff,&num); %do %while(&dsname ne); proc print data=sasuser.&dsname; run; %let num=%eval(&num+1); %let dsname=%scan(&syspbuff,&num); %end; %mend printz; %printz(courses, schedule)
... View more