IBM Support

Getting error: CLEM error: Malformed token when creating a CLEM formula

Troubleshooting


Problem

CLEM formulas require special treatment of backslash characters, would like additional documentation of how to search for a backslash in a formula.. For instance, customer has a string called field1 which has a backslash in it. If they try to create a derive node with the formula issubstring('\',field1) they get the error CLEM error: Malformed token '\',field1)' in expression: issubstring('\',field1) If instead they use the following in the formula issubstring('\\',field1) the formula works properly and tries to find instances of a single backslash rather than a double backslash. Although this is documented in the online help, the requirement to use two backslashes should be listed in the topic of string or string functions under the CLEM topic.

[{"Product":{"code":"SS3RA7","label":"IBM SPSS Modeler"},"Business Unit":{"code":"BU048","label":"IBM Software"},"Component":"Modeler","Platform":[{"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

91159

Document Information

Modified date:
16 June 2018

UID

swg21487691