BookmarkSubscribeRSS Feed
🔒 This topic is locked. We are no longer accepting replies to this topic. Need further help? Please sign in and ask a new question.
SAS_Tipster
Moderator

Given an arbitrary file (not a .sas7bdat file), open the file using FILENAME statement/functions and read the header. Certain patterns in the header are a strong indicator the file may be a SAS data set.


Thanks to Thomas Billings for this tip. Read more details in this paper from WUSS 2017: Methods to Identify and Validate SASProprietary and AES Encrypted SAS Data Sets.

hackathon24-white-horiz.png

2025 SAS Hackathon: There is still time!

Good news: We've extended SAS Hackathon registration until Sept. 12, so you still have time to be part of our biggest event yet – our five-year anniversary!

Register Now

Visit a random SAS tip This SAS Tips board is not open for replies or comments, but we welcome your feedback and questions. Have a question or comment about this tip? Start a new topic in one of our discussion boards, and reference this tip topic.
Discussion stats
  • 0 replies
  • 114429 views
  • 0 likes
  • 1 in conversation