Hi SAS guys, I run into a problem. When I use ods excelxp to output my table to xml file, the file name can not be resovled. Here is part of my code: ........... ODS noresults; ODS listing close; /*Turn off the standard line printer destination*/ ods tagsets.ExcelXP path="&dir./&&examdegree&i." file="&&abexamd&i._&°ree&k._&mon..xml" style=seaside /*Styles to control appearance of output*/; ods tagsets.ExcelXP options ( sheet_name= "Directory" embedded_titles='yes' autofit_height= 'yes' frozen_headers= '1' autofilter= 'yes' frozen_rowheaders="2" absolute_column_width= '20,20,4,4,8,8,8,8,8,8,8,8,8,8,8,8,8,8,8'); options missing=" "; title j=l "&&examdegree&i. "; title1 j=l "Breakout: &°ree&k."; title2 j=l "Reporting Window: &mon."; proc Report data=uall NOWD style(header)=[foreground=white background=CX4D7EBF]; Column form summary roster; define form /Center display "Form Name"; define summary / center display "Summary"; define roster / center display "Roster" ; compute form; row+1; if (mod(row,2)) then do; call define(_row_,"style","style=[background=CXECEDEC]"); end; endcomp; run; the log window shows: WARNING: Apparent symbolic reference ABEXAMD1_ not resolved. WARNING: Apparent symbolic reference DEGREE3_2017_08 not resolved. NOTE: Writing TAGSETS.EXCELXP Body file: &abexamd1_°ree3_2017_08.xml NOTE: This is the Excel XP tagset (Compatible with SAS 9.1.3 and above, v1.130, 05/01/2011). Add options(doc='help') to the ods statement for more information. Those &&abexamd&i. and &°ree&k. have values when I use %put &&abexamd&i. &°ree&k. command. The titles which have macro values are resolved. Thanks,
... View more