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

 

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
  • 7543 views
  • 1 like
  • 4 in conversation