I am trying to import a csv file for a college project. The file is around 1.8 GB and i want it to be in the SAS work library.
It gives me the following error
ERROR: Out of space writing to file /tmp/SAS_work72DD00005218_localhost.localdomain/#LN00015.
is there any work around. I can't subset my data also as i am not able to open in it excel because of the size also.
Any help appreciated.
Try compressing the dataset. SAS offers different kinds of compression (see dataset option COMPRESS=).
Are you using UE ? You can switch WORK into another path: options user='/folders/myfolders/'; proc import ..........
BAD idea to get into the habit of writing anything into SASHELP library and SASUSER isn't a great place for data either.
If this is at school and using a school computer then your use account may well be limited as to available space. If this sound possible talk to your IT folks.
Try
OUT=WORK.IMPORT2(COMPRESS=YES)
How much free space do you have on the drive?
Note that some of the operations with SAS require more disk space than just the size of the data set to work with.
Join us for SAS Innovate April 16-19 at the Aria in Las Vegas. Bring the team and save big with our group pricing for a limited time only.
Pre-conference courses and tutorials are filling up fast and are always a sellout. Register today to reserve your seat.
Learn how use the CAT functions in SAS to join values from multiple variables into a single value.
Find more tutorials on the SAS Users YouTube channel.