I am getting the following error when I try to import a .dta file:
Didn't see end for ¦varnames¦ element. Got -> ¦¦
Requested Input File Is Invalid
ERROR: Import unsuccessful. See SAS Log for details.
The code I am using to import this file is simple, so it should not be a syntax issue. It is of the form below if interested:
proc import datafile = "$path.\data.dta"
dbms=stata
out = data
run;
Any idea what this might be due to? The dataset I am trying to import consists of 4 character variables and ~10,000 obs.