IBM Support

Unable to execute IF command, produces Error# 4285

Troubleshooting


Problem

When executing an IF command using Statistics Syntax, execution stops with the following error message: Error# 4285 in column . Text: Incorrect variable name: either the name is more than 64 characters, or it is not defined by a previous command. Execution of this command stops.

Symptom

Syntax being executed appears as:

IF (MySourceVariable=MyValue1) MyTargetVariable=1.
IF (MySourceVariable=MyValue2) MyTargetVariable=2.
EXECUTE.

[{"Product":{"code":"SSLVMB","label":"IBM SPSS Statistics"},"Business Unit":{"code":"BU048","label":"IBM Software"},"Component":"Statistics Desktop","Platform":[{"code":"PF025","label":"Platform Independent"}],"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.

Document Information

More support for:
IBM SPSS Statistics

Software version:
Not Applicable

Document number:
267407

Modified date:
16 April 2020

UID

swg21967706

Manage My Notification Subscriptions