What is the source of the data - is it a text file, Excel spreadsheet, or a database table? The string variables may be padded with blanks, which can be removed with LTRIM or RTRIM function.
You can determine the version of SPSS Statistics that you're using by going to Help/About on the menu. The current version is 26, which is available to all IBMers.
------------------------------
Steve Poulin, Ph.D.
Senior Data Scientist
IBM Finance Data Science & Technology
------------------------------
Original Message:
Sent: Thu January 09, 2020 10:03 AM
From: Yi Yang
Subject: SPSS bug?
We're using version 22 (I think), and it happens a lot that the length of string variables is multiplied by 3 by itself. This happens to all string variables in the same data file. This makes the file size bigger, and impossible to use the "Merge -> add variables" function unless we manually adjust the length back. It's been going on for several years. How to solve this?
------------------------------
Yi Yang
------------------------------
#SPSSStatistics