I used the code below to read an external Excel file and just noticed it only read the first 255 columns. When I used PROC IMPORT, all 266 columns were read in. Some of the column names are longer than 32 characters, so PROC IMPORT gave some variable names as VAR15, etc. When I used the code below, it did not assign names such as this but instead, it would read the first 32 characters and truncate the rest, which makes renaming a bit easier. Is this expected? I'm running SAS 9.4 on a PC. libname datain 'G:\Departments\Research\test scores\Aspire\2015\1936-3701-SPF-v1.xlsx'; data data1; set datain.'1936-3701-SPF-v1$'n; run;
... View more