Dear Reeza,
I replied to Tom - it appeared that all my SAS files (prior to 2018) that I used and saved with a SAS license cannot be opened in SAS on Demand.
I do not know why - my SAS files (after 2018) that I worked and saved with SAS Studio, I have no issue with.
Please note, these SAS files can be transferred in SPSS, but not for any SAS files prior to 2018.
You may have any thoughts - let me know. Thanks a lot !
Please show the SAS logs of the attempts to read one of the older files that does not work.
If they also say the file has zero observations then perhaps the issue was with how you saved them prior to 2018.
Hello,
I randomly verified - data from 2010 - 2019, some can be opened, some are not.
You are correct - I cannot remember which SAS version - but I had an SAS version at some points.
Please kindly see in the attachment.
Please note there are few files, I saved overlap names but they are different in size and saved in different files.
PSHP_C1 looks corrupted, while BN is uncorrupted, but empty.
Thank you, Kurt !
It looks weird to me that say BN file is empty since it has 500+ kb, but you know better than me. I believe some of my files may be in the same situation - I never look at them for a long time.
Two important facts:
Dear Kurt,
Thank again for your words - I have to remember to switch to a lowercase !
I uploaded your files to OnDemand, no issues.
I changed the names to lowercase and they work fine.
BN is empty,
P.. has 558 variables and 605 observations
BN_Save has 674 variables and 559 observations.
Thanks a lot, Reeza !
Phan S.
Can I send the file via email? Let me know.
SAS On Demand runs on linux. If you created the SAS datasets you are trying to read on a different operating system, like Windows, for example then you may well have problems reading these on linux. SAS datasets are stored in OS-specific format.
But I never use SAS Studio or On Demand (even a SAS license) in other operations than Windows.
I found today that some files had been corrupted - why? I am not sure.
@PhanS wrote:
But I never use SAS Studio or On Demand (even a SAS license) in other operations than Windows.
I found today that some files had been corrupted - why? I am not sure.
It's not the OS of the SAS client but the one of the SAS Server that's relevant here.
Ideally attach one of your corrupted files here so we can have a closer look at it. If attaching first verify on OS level that the file isn't bigger than 5MB.
Registration is now open for SAS Innovate 2025 , our biggest and most exciting global event of the year! Join us in Orlando, FL, May 6-9.
Sign up by Dec. 31 to get the 2024 rate of just $495.
Register now!
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.