Hello,
An error message is shown in the log window. How to fix it?
%let dira=%str(Pathway);
filename KC "&dira.\Cost_KC.xlsx";
%macro ttt(site,tab);
proc import datafile=&site. out=&site._&tab. dbms=excel replace; sheet="&tab."; run;
%mend ttt;
%ttt(KC,OPT_Data_Request);
31 %ttt(KC,OPT_Data_Request);
ERROR: File _IMEX_.'OPT_Data_Request$'n.DATA does not exist.
ERROR: Import unsuccessful. See SAS Log for details.
NOTE: The SAS System stopped processing this step because of errors.
NOTE: PROCEDURE IMPORT used (Total process time):
real time 0.24 seconds
cpu time 0.15 seconds
Please do not show ERRORs detached from the code that produced them. Whenever you get an ERROR in the log, SHOW US the ENTIRE log for this macro or PROC or DATA step. When the error is in a macro, please run the command options mprint; before your macro and then run the macro again. Please copy the log as text and paste it into the window that appears when you click on the </> icon
April 27 – 30 | Gaylord Texan | Grapevine, Texas
Walk in ready to learn. Walk out ready to deliver. This is the data and AI conference you can't afford to miss.
Register now and lock in 2025 pricing—just $495!
Still thinking about your presentation idea? The submission deadline has been extended to Friday, Nov. 14, at 11:59 p.m. ET.
Learn how use the CAT functions in SAS to join values from multiple variables into a single value.
Find more tutorials on the SAS Users YouTube channel.
Ready to level-up your skills? Choose your own adventure.