Announcement

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

  • Stata15 to stata17 - Open files

    I am trying to open a stata15 file in stata17. Unfortunately, I receive error messages (see below) and cannot open it in stata17.

    "C:\Users\sabin\OneDrive\Desktop\Dissertation\ Synt hesis_BigPicture - Kopie\Datenauswertungen\Post_Retirement_Work_Engag ement\pge is not a valid command name
    r(199);

    Furthermore, I tried this:
    . use "c:\Users\sabin\OneDrive\Desktop\Dissertation\ Synt hesis_BigPicture - Kopie\Datenauswertungen\Post_Retirement_Work_Engag ement\pka
    file c:\Users\sabin\OneDrive\Desktop\Dissertation\Synth esis_BigPicture -
    Kopie\Datenauswertungen\Post_Retirement_Work_Engag ement\pka.dta not found r(601);

    Best regards,

    Sabine

  • #2
    The dta file format used by Stata 15 can be opened by any newer version of Stata. The culprit is either that your datafile isn't where you think it is, or there is a typo in your path name.

    Code:
    use "/path/to/your/dataset.dta"

    Comment


    • #3
      You have spaces at odd places in your path, such as Engag ement and Synth esis. Are you sure your path is entered correctly? As noted in #2, this is not about Stata 17 being inherently unable to open Stata 15 datasets.

      Comment


      • #4
        Thank you for your super-fast support. I figured it out.

        Comment

        Working...
        X