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.
Are you ready for the spotlight? We're accepting content ideas for SAS Innovate 2025 to be held May 6-9 in Orlando, FL. The call is open until September 25. Read more here about why you should contribute and what is in it for you!
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.