Sounds like you file is bad. Are you sure the file is a SAS dataset? Just changing the name of the file at the operating system level does not make the contents a SAS dataset.
You seem to say that SAS itself has changed on your system. What was changed? Are you using the same machine and a different version of SAS? What version are you using now? What version were you using before? SAS datasets are normally compatible, but there are limits. You cannot read version 5 datasets for example. You cannot read datasets from an IBM mainframe on Unix or Windows machines. You might need to run the old verison of SAS and convert the files to a transport file of some type to be able to read it with the new version of SAS.
Get the file restored from backup from a date you know when it wasn't corrupted.
Contact your IT support folks / help desk or your SAS administrator. They should be able to help you.
SAS Innovate 2025 is scheduled for May 6-9 in Orlando, FL. Sign up to be first to learn about the agenda and registration!
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.
Ready to level-up your skills? Choose your own adventure.