10-23-2014 12:12 PM
I am trying to import a spss data set into sas, but it seems that I loose some content on the way, meaning that my 1100 - long string is truncated to just 225.
I know that it is possible to extent the lenght of the variables, but so far I was not able to understand how to do it.
The sintax that I have used is:
10-23-2014 12:26 PM
Check out the LRECL system option at
LRECL=n | nK | nM | nG | nT | hexX | MIN | MAX
specifies the logical record length in multiples of 1 (bytes); 1,024 (kilobytes); 1,048,576 (megabytes); 1,073,741,824 (gigabytes); or 1,099,511,627,776 (terabytes). For example, a value of 32 specifies 32 bytes, and a value of 32k specifies 32,767 bytes.
10-23-2014 12:49 PM
Another option if you have access to SPSS is to try exporting from SPSS to SAS. One additional advantage of this approach is the option to create a SAS Format program file that will mimic SPSS value displays.