In SAS, "Library IPUMS does not exist"

Hello,

I’ve tried running IPUMS CPS in SAS and it does not work, even when following the Youtube tutorial. I’m probably making a simple error that I’m not catching at the moment, but please bear with me.

In the instructions, it says to edit the following lines to present the path directory along with the full path

libname IPUMS “.”;
filename ASCIIDAT “cps_00001.dat”;

When I do, it looks as such:

libname IPUMS "F:";
filename ASCIIDAT “F:\cps_00001.dat”;

However, when I press Run, the following occurs and my data will not be read:

libname IPUMS "F:";

NOTE: Library IPUMS does not exist.

filename ASCIIDAT “F:\cps_00001.dat”;

proc format cntlout = IPUMS.cps_00001_f;

ERROR: Library IPUMS does not exist

Again, there is probably a simple newbie error I am making in the process, but I would appreciate it if someone would help me out just the same.

Thank you.

I’d suggest trying a couple things. First, be sure that you are decompressing or “unzipping” the .dat file containing your data. We typically recommend 7zip for this procedure, but most decompression software packages should work. Second, it might help to save your data in a specific folder on your F drive. If this does not solve the issue, feel free to reach out to us directly at ipums@umn.edu.