BookmarkSubscribeRSS Feed
anandbillava
Fluorite | Level 6
I am creating a report using proc report which pulls data from oracle databse using proc sql. It takes lot of time when i run it in my local SAS and it crashes when running in Enterprise guide. It gives error saying ERROR: Utility file write failed. Probable disk full condition.
or dataset is corrupted. Some of the datasets in this joining has more than 200,000 records.

Once the above dataset created from proc sql there are some internal processing required. Some time it crashes during those steps saying dataset is corrupted.

Any idea about handling such a big table ? Any tips would be appreciated..
Thanks in advance.

Message was edited by: anandbillava

Message was edited by: anandbillava

Message was edited by: anandbillava Message was edited by: anandbillava
3 REPLIES 3
Doc_Duke
Rhodochrosite | Level 12
You just need more disk space for UTILLOC. Search for on support.sas.com
LinusH
Tourmaline | Level 20
So you are running EG using a local SAS installation, with ACCESS to Oracle?
If so, try to make the join to happen in Oracle. Use either explicit SQL pass-thru, or try to make your SQL join as clean as possible to make SAS to do a implicit pass-thru.
This will probably make the disk full problem go away.

/Linus
Data never sleeps
Peter_C
Rhodochrosite | Level 12
anandbilliva

to see what is going on under the syntax layer, use the system option SASTRACE, like:
options sastrace=',,,d' sastraceloc=FILE "~somewhere/problem1.log" nostsuffix;
Additionally, in the proc sql statement, add option _TREE.
When you get a lot of details in the SASlog from _TREE, probably your query will be inefficient. You want a report from _TREE showing that the bulk of the query has been passed to the database server.

good luck
PeterC

sas-innovate-2024.png

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.

 

Register now!

How to Concatenate Values

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.

Click image to register for webinarClick image to register for webinar

Classroom Training Available!

Select SAS Training centers are offering in-person courses. View upcoming courses for:

View all other training opportunities.

Discussion stats
  • 3 replies
  • 901 views
  • 0 likes
  • 4 in conversation