Announcement

Collapse
No announcement yet.
X
  • Filter
  • Time
  • Show
Clear All
new posts

  • Import SAS Unable to Parse File

    Hi, I am using Stata 16 to attempt to import a SAS file (.sas7bdat). I am receiving the following error "unable to parse file"

    Does anyone happen to know what might be going wrong?


  • #2
    Hello Alexander!

    I'm encountering the same problem. Did you ever find a solution for this?

    Comment


    • #3
      I don't know whether Stata can import compressed SAS datasets, but that is a possibility. Does your dataset have character (string) variables? If not, then compression won't make a difference, I believe, and that possibility can be ruled out.

      Another possibility is that whoever created the SAS dataset set the ENCRYPT= option to something other than its default (NO).

      Comment


      • #4
        I just encounter the same problem. Any solution?

        If the SAS dataset set the ENCRYPT, is there are a way to reserve it?

        Comment


        • #5
          I never found a solution to this using STATA. However, I ended up getting a license to STAT Transfer and that resolved it.

          Comment


          • #6
            save it as a .dta file from sas then stata can read it

            Comment

            Working...
            X