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.
Don't miss out on SAS Innovate - Register now for the FREE Livestream!
Can't make it to Vegas? No problem! Watch our general sessions LIVE or on-demand starting April 17th. Hear from SAS execs, best-selling author Adam Grant, Hot Ones host Sean Evans, top tech journalist Kara Swisher, AI expert Cassie Kozyrkov, and the mind-blowing dance crew iLuminate! Plus, get access to over 20 breakout sessions.
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.