proc import datafile="C:\Users\HP\Desktop\sas.txt"
dbms=dlm out=sas;
run;
33 proc import datafile="?C:\Users\HP\Desktop\sas.txt"
34 dbms=dlm out=sas;
35 run;
ERROR: Physical file does not exist, ?C: Users\HP\Desktop\sas.txt.
ERROR: Import unsuccessful. See SAS Log for details.
Hello @vinod4842,
Your question requires more details before experts can help. Can you revise your question to include more information?
Review this checklist:
To edit your original message, select the "blue gear" icon at the top of the message and select Edit Message. From there you can adjust the title and add more details to the body of the message. Or, simply reply to this message with any additional information you can supply.
SAS experts are eager to help -- help them by providing as much detail as you can.
This prewritten response was triggered for you by fellow SAS Support Communities member @PeterClemmensen
.Looks like you have some extra characters in your program. Try re-typing the filename, including the quotes.
Are you using SAS UE?
You also didn't specify a delimiter, was that your intention?
@vinod4842 wrote:
proc import datafile="C:\Users\HP\Desktop\sas.txt" dbms=dlm out=sas; run;
33 proc import datafile="?C:\Users\HP\Desktop\sas.txt"
34 dbms=dlm out=sas;
35 run;ERROR: Physical file does not exist, ?C: Users\HP\Desktop\sas.txt.
ERROR: Import unsuccessful. See SAS Log for details.
Don't miss out on SAS Innovate - Register now for the FREE Livestream!
Can't make it to Vegas? No problem! Watch our general sessions LIVE or on-demand starting April 17th. Hear from SAS execs, best-selling author Adam Grant, Hot Ones host Sean Evans, top tech journalist Kara Swisher, AI expert Cassie Kozyrkov, and the mind-blowing dance crew iLuminate! Plus, get access to over 20 breakout sessions.
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.