Hey, I'm fairly new to working with SAS and I'm struggeling with the following problem: I'm trying to import a file (originally SPSS-format) into SAS. I've already tried saving it as a excel-file (extension.xls), a SAS-database file (extension sas.7bdat) or a comma delimited file (extension .csv). SAS does import the file but states that the dataset contains only 1 observation and 0 variables. However, when I look at my data with the proc print-command there are over 50000 oberservations. I do see that all my variabels are stated in one collumn and their values are separated with ';'. This problem occurs with each of the data-formats and I have no idea on what the solution could be. To be clear this is the syntax I use: proc import OUT=WORK.filename datafile="file_location_and_name.csv" dbms=csv replace; getnames=yes; run; Thanks, Lise
... View more