BookmarkSubscribeRSS Feed
🔒 This topic is solved and locked. Need further help from the community? Please sign in and ask a new question.
cellurl
Quartz | Level 8

(updated)

My Base SAS program gives an error.

 

MPRINT(ADD_WGT_BREAKS):   data disc_info(drop = wgtbrk_flg compress=yes);
MPRINT(ADD_WGT_BREAKS):   merge disc_info(in=ok1) single_wgt_breaks(in=ok2);
MPRINT(ADD_WGT_BREAKS):   by prod_type disc_id dstcrgn kyprdtyp begwgt endwgt;

ERROR: An I/O error has occurred on file WORK.DISC_INFO.DATA.
ERROR: File WORK.DISC_INFO.DATA is damaged. I/O processing did not complete.
NOTE: The SAS System stopped processing this step because of errors.

 

 

It gives this repeatidly and in different programs. Our company recently mandidated that our tmp directory

change from

 

libname sastmp /usr/local/sas/tmp

to now be

libname sastmp /var/ourcompany/SAS/WORK/tmp/9.4

 

I am worried that this "new error" is from a tmp file being too large and not fitting in tmp area??

 

I did du -f and the drive isn't full, but perhaps the tmp file is gi-normous?

 

Am I crazy? What tests should I run? 

Thanks!

 

 

 

 

 

 

 

 

1 ACCEPTED SOLUTION

Accepted Solutions
LinusH
Tourmaline | Level 20

When you are back at work, it would be great if you deliver the complete message/log.

If the file system is full, SAS might clean up after the error, so if you do a du later it will probably not show the relevant disk availability.

So monitor as the job runs, and add

options fullstimer;

to ou program, and it will tell you more about resource consumption in each step.

Data never sleeps

View solution in original post

4 REPLIES 4
LinusH
Tourmaline | Level 20

When you are back at work, it would be great if you deliver the complete message/log.

If the file system is full, SAS might clean up after the error, so if you do a du later it will probably not show the relevant disk availability.

So monitor as the job runs, and add

options fullstimer;

to ou program, and it will tell you more about resource consumption in each step.

Data never sleeps
cellurl
Quartz | Level 8
I was mixing work directories and tmp directories. Thanks for the tips! I will mark this closed.
cellurl
Quartz | Level 8

the disk was full.  I had cked it, but I had to ck it every second during execution using "df".

 

thanks

sas-innovate-2024.png

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.

 

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
  • 4 replies
  • 2024 views
  • 2 likes
  • 3 in conversation