Learning SAS? Welcome to the exclusive online community for all SAS learners.

i couldnot work on raw data by infile "infile'C:\SASUniversityEdition\myfolders\vidya\test1.txt'"

Reply
New Contributor
Posts: 2

i couldnot work on raw data by infile "infile'C:\SASUniversityEdition\myfolders\vidya\test1.txt'"

I started learning Sas by using SAS university edition. I wanted make dataset by using rawdata, but i couldnt do by "infile" statement.
Please help me 
I shared the same folder path in Virtual box as well,
 
data c;
infile'C:\SASUniversityEdition\myfolders\vidya\test1.txt';
input id name $ sal;
run;
 
ERROR: Physical file does not exist, /opt/sasinside/SASConfig/Lev1/SASApp/C:\SASUniversityEdition\myfolders\vidya\test1.txt.

sas university.JPGShared folder.JPG
PROC Star
Posts: 7,363

Re: i couldnot work on raw data by infile "infile'C:\SASUniversityEdition\myfolders\vidya\test1

[ Edited ]

You have to specify it's location as:

 

infile '/folders/myfolders/vidya/test1.txt';

 

That is, assuming you have a vidya folder in your sasuniversityedition myfolders directory.

 

HTH,

Art, CEO, AnalystFinder.com

 

Super User
Posts: 17,828

Re: i couldnot work on raw data by infile "infile'C:\SASUniversityEdition\myfolders\vidya\test1

I've moved your post to the SAS Analytics U forum. Most of the issues you'll run into are answered in these forums. 

 

If you're new to SAS here are some helpful links:

 

1. SAS UE Help Center

2. SAS Video Tutorials for SAS Studio

Ask a Question
Discussion stats
  • 2 replies
  • 153 views
  • 0 likes
  • 3 in conversation