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

In reading a dataset using sas9 or EG7.12 , I get the error. (attached, but seg_info.sas7bndx didn't copy correctly....)

 

It is very infrequent. I would like to understand what I might do to prevent it in the future? 

 

Any insight appreciated.

Thanks!

Jim 

 

1 ACCEPTED SOLUTION

Accepted Solutions
ballardw
Super User

I suspect that you may need to rebuild the index or rename the index file. Something may have corrupted it. Is performance acceptable if you don't reference the index?

 

View solution in original post

4 REPLIES 4
ballardw
Super User

How did you attempt to read the data?

 

Please post the code and the log results.

cellurl
Quartz | Level 8
MPRINT(GET_CURRENT_DATA):   proc sql;
MPRINT(GET_CURRENT_DATA):   create table prim_raw.seg_info(index=(seg_id)) as select a.* from prmviews.seg_info a, tmp b where 
a.seg_id = b.seg_id ;
INFO: Index seg_id of SQL table ISHDATA1.SEG_INFO selected for SQL WHERE clause (join) optimization.
ERROR: File PRIM_RAW.SEG_INFO.DATA is not a SAS data set.
MPRINT(DRIVER):   libname prim_raw "/mktg/prcxx/app_scratch/xxx_audit/xxxxxxx/prim/raw";
NOTE: Libref PRIM_RAW was successfully assigned as follows: 
      Engine:        V9 
      Physical Name: /xxxx/xxxxxx/app_scratch/xxx_audit/xxxxx/prim/raw
ballardw
Super User

I suspect that you may need to rebuild the index or rename the index file. Something may have corrupted it. Is performance acceptable if you don't reference the index?

 

cellurl
Quartz | Level 8

yea, if it happens again, I will remove the index creation.  Thanks!

 

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