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

I have a sas7bdat file and a sas7bndx file with the same name in the same folder but the SAS proc doesn't recognize it.  How can I restore the index using these datasets.  I did not create the index and I am not sure how it was created. 

1 ACCEPTED SOLUTION

Accepted Solutions
SASKiwi
PROC Star

What do you mean by "the SAS proc doesn't recognize it"? Have you tried using PROC CONTENTS on the dataset and does it report an index or not?

 

Check the modified dates for both the files. If the date modified on the SAS7BDAT file is not the same as the SAS7BNDX file then the index won't match the dataset. It will need to be recreated.

View solution in original post

1 REPLY 1
SASKiwi
PROC Star

What do you mean by "the SAS proc doesn't recognize it"? Have you tried using PROC CONTENTS on the dataset and does it report an index or not?

 

Check the modified dates for both the files. If the date modified on the SAS7BDAT file is not the same as the SAS7BNDX file then the index won't match the dataset. It will need to be recreated.

SAS Innovate 2025: Call for Content

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!

Submit your idea!

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
  • 1 reply
  • 496 views
  • 0 likes
  • 2 in conversation