Hi!
I've got problems impoting DOS TXT File to SAS Server using EG Import File Wizard. The problem results in trimming some values of character string.
For instance, for a character field SAS assigned field width equaled 25 characters.
Performing File import procedure results in creating a SAS Data set.
Verifying obtained SAS Data set I've noticed that there were some observations with fields length originally greater than 25 which result in trimming such values from the right side from their initial length to 25 symbols.
It's absolutely unclear for me how SAS calculates the maximum width of the character fiels. I never had such problems in Excel or Access.
The only understandable way of fixing the problem is to determine somehow the length of the longest string of the field and to correct informat manually prior to start import procedure. In most cases it is hard to accomplish due to giant number of observations.
Please help me avoid importing txt data trimming, help me make SAS understand maximum field width.
P.S.
For Excel Files Import in EG we have special option "Use longest value as column width" (Tools\Options\Perfomance)