IBM Support

How many characters can a string or numeric variable take in SPSS?

Question & Answer


Question

How many characters can a string or numeric variable take in SPSS?

Answer

The maximum string width on SPSS versions V13 and later is now 32767.
The maximum numeric width on SPSS versions V13 and later is now 40.

Note:
For SPSS Version 12 and below, The maximum numeric width is 16 and the maximum string width is 255

[{"Product":{"code":"SS6A7K","label":"IBM SPSS Text Analytics for Surveys"},"Business Unit":{"code":"BU059","label":"IBM Software w\/o TPS"},"Component":"Not Applicable","Platform":[{"code":"PF025","label":"Platform Independent"}],"Version":"2.1","Edition":"","Line of Business":{"code":"LOB10","label":"Data and AI"}}]

Historical Number

21378

Document Information

Modified date:
16 June 2018

UID

swg21476969