BookmarkSubscribeRSS Feed
🔒 This topic is solved and locked. Need further help from the community? Please sign in and ask a new question.
hexx18
Quartz | Level 8
Hi There was an upgrade on server for space issue and I get below error . I am unable to retrieve any records from testlib.payments SAS dataset . libname testlib "serverpath"; data apple; set testlib.payments; run; ERROR: File testlib.payments.DATA is not a SAS data set. Can anyone please help ?
1 ACCEPTED SOLUTION

Accepted Solutions
Reeza
Super User
You should probably raise this first with an internal administrator to ensure there isn't an issue with your set up.

View solution in original post

7 REPLIES 7
Reeza
Super User
You should probably raise this first with an internal administrator to ensure there isn't an issue with your set up.
Tom
Super User Tom
Super User

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.

hexx18
Quartz | Level 8
It’s a SAS dataset which resides in server and Server space has been increased so we can store more data . Now I think file got corrupted . And gives above error when I am trying execute above SAS code .
SASKiwi
PROC Star

Get the file restored from backup from a date you know when it wasn't corrupted.

hexx18
Quartz | Level 8
How do I do that ? Any help on this ?

Thank you
SASKiwi
PROC Star

Contact your IT support folks / help desk or your SAS administrator. They should be able to help you.  

hexx18
Quartz | Level 8
It worked Thank you

SAS Innovate 2025: Save the Date

 SAS Innovate 2025 is scheduled for May 6-9 in Orlando, FL. Sign up to be first to learn about the agenda and registration!

Save the date!

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.

SAS Training: Just a Click Away

 Ready to level-up your skills? Choose your own adventure.

Browse our catalog!

Discussion stats
  • 7 replies
  • 1766 views
  • 3 likes
  • 4 in conversation