I am running SAS 9.3 trying to import an SPSS file using the following SAS syntax:
PROC IMPORT OUT= WORK.StuEmp_raw
DATAFILE= "L:\Student Employment\Data\IUPUI_Student_Employee_Survey_raw.sav"
DBMS=SPSS REPLACE;RUN;
This SPSS file contains several String (Character) variables with a length of about 2,000. This should be well within what a character variable in SAS can handle. However, SAS is still breaking the text fields into multiple character variables with a length of $255 (i.e. the default). I could dump the SPSS file into a .csv, but I'd like to maintain the labels on some other variables in the file. How can I specify the length of character variables when importing from SPSS? Will I need to do a data step_