BookmarkSubscribeRSS Feed
dwiti
Calcite | Level 5

my code is:

 


*Import data;
proc import datafile="C:\Users\Arindam\Desktop\SASUniversityedition\my folder\sas sample.txt";
out=WORK.sas_sample dbms=dlm replace;
delimiter=tab getnames=yes;
run;

 

and im getting following error. pls help

ERROR: Output SAS data set must be provided.

 

 

3 REPLIES 3
Ksharp
Super User

proc import datafile="C:\Users\Arindam\Desktop\SASUniversityedition\my folder\sas sample.txt";

-->

proc import datafile="C:\Users\Arindam\Desktop\SASUniversityedition\my folder\sas sample.txt" 

MarcoGuimaraes
Obsidian | Level 7

Yeah... The **bleep** semicolon was there. 🙂
Thanks for your support.

Sharad_sas
SAS Employee

Please refer to the following webpage to understand how to specify a shared folder in SAS University Edition and then how to specify a file path in your SAS program. Let me know if you have further questions.

 

http://support.sas.com/software/products/university-edition/faq/data_access_import.htm

 

sas-innovate-2026-white.png



April 27 – 30 | Gaylord Texan | Grapevine, Texas

Registration is open

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!

Register now

Develop Code with SAS Studio

Get started using SAS Studio to write, run and debug your SAS programs.

Find more tutorials on the SAS Users YouTube channel.

SAS Training: Just a Click Away

 Ready to level-up your skills? Choose your own adventure.

Browse our catalog!

Discussion stats
  • 3 replies
  • 7423 views
  • 1 like
  • 4 in conversation