IBM Support

Error # 4309 in column 256 / Invalid combination of data types in an assignment in SPSS

Troubleshooting


Problem

I am working with an SPSS dataset and trying to compute a substring on a variable. When I do this, I receive the following error: Error # 4309 in column 256. Text: (End of Command) Invalid combination of data types in an assignment. Character strings may only be assigned to string variables. Numeric and logical quantities may only be assigned to numeric variables. Consider using the STRING or NUMBER function. This command not executed. What am I doing wrong?

[{"Product":{"code":"SSLVMB","label":"IBM SPSS Statistics"},"Business Unit":{"code":"BU048","label":"IBM Software"},"Component":"Not Applicable","Platform":[{"code":"PF016","label":"Linux"},{"code":"PF014","label":"iOS"},{"code":"PF033","label":"Windows"}],"Version":"Not Applicable","Edition":"","Line of Business":{"code":"LOB76","label":"Data Platform"}}]

Log InLog in to view more of this document

This document has the abstract of a technical article that is available to authorized users once you have logged on. Please use Log in button above to access the full document. After log in, if you do not have the right authorization for this document, there will be instructions on what to do next.

Historical Number

21491

Document Information

Modified date:
16 April 2020

UID

swg21476990