IBM Support

UDA-SQL-0358 Syntax error near "=" when creating a Framework Manager filter

Troubleshooting


Problem

When creating a filter in Framework Manager which deals with dynamic time functions, such as quarter(current_date), year(current_date) etc... contained within an if-then-else block or case statement a syntax error may occur. The expression would resemble something like this: IF (condition is true) THEN (filter this way) ELSE (filter that way) Example: IF ([DATA_LOAD_STATUS] = 1) THEN ([DAY] = day(current_date)) ELSE (([MONTH] = month(current_date) -1) AND maximum([DAY])) Note that the individual expressions in the THEN and ELSE areas do work fine on their own.

Symptom

Errors like the following may appear when using or validating the filter:

RQP-DEF-0177 An error occurred while performing operation 'sqlPrepareWithOptions' status='-16'.

UDA-SQL-0358 Line XX: Syntax error near "=".

[{"Product":{"code":"SSEP7J","label":"Cognos Business Intelligence"},"Business Unit":{"code":"BU048","label":"IBM Software"},"Component":"Framework Manager","Platform":[{"code":"PF002","label":"AIX"},{"code":"PF010","label":"HP-UX"},{"code":"PF016","label":"Linux"},{"code":"PF027","label":"Solaris"},{"code":"PF033","label":"Windows"}],"Version":"10.2.2;10.2.1;10.2","Edition":"All Editions","Line of Business":{"code":"LOB76","label":"Data Platform"}},{"Product":{"code":"SS6G84","label":"IBM Cognos Analytics on Cloud"},"Business Unit":{"code":"BU048","label":"IBM Software"},"Component":" ","Platform":[{"code":"","label":""}],"Version":"","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

Modified date:
08 May 2025

UID

swg21420771