06-26-2012 06:01 PM
when I use proc import excel file(.xls) into SAS ,some cells with very long character will be trimed after they come to SAS dataset.
how to fix it?
06-26-2012 07:59 PM
Add the TEXTSIZE= option to your IMPORT program as a separate statement (eg textsize = 4096. By default the maximum text size is 1024 characters.
BTW, you should find it quicker to search for these answers yourself, by looking at the PROC IMPORT SAS Help or online SAS documentation.
I found the above link by searching SAS support with the key words:maximum variable length import procedure
06-27-2012 03:07 PM
I have found a post at this link that helped me to solve the problem. It is not elegant, but it works.
SAS should provide an option for the user to control how many rows to scan instead of relying on the windows registry.