Invalid File message

#1

I am getting an invalid file message. Here is the file that I copied from “properties:”

“C:\sas\Racewealth\usa_00031.dat”;

Please help. Thank you. Hayward Derrick Horton

0 Likes

#2

Are you updating both the libname and the filename command lines? Based on your above file path you should have the following code:

libname IPUMS “C:\sas\Racewealth”;

filename ASCIIDAT “C:\sas\Racewealth\usa_00031.dat”;

The libname tells SAS where to look for your data file and the filename tells SAS what file to use.

I hope this helps.

0 Likes