IBM Support

How to use the Oracle TO_CHAR function with sysdate in Framework Manager

Troubleshooting


Problem

In IBM Cognos 8 Framework Manager, an error occurs when using "To_char({sysdate}, 'yyyy-mm-dd')" or "To_char(sysdate(), 'yyyy-mm-dd')" as the expression definition of a calculation. However, using the to_char calculation against a query item such as "to_char([Oracle_gosales].[ORDER_DETAILS].[TEST_DATE] , 'yyyy-mm-dd')" works fine.

Symptom

RQP-DEF-0177, UDA-SQL-0219

[{"Product":{"code":"SSEP7J","label":"Cognos Business Intelligence"},"Business Unit":{"code":"BU048","label":"IBM Software"},"Component":"Framework Manager","Platform":[{"code":"PF033","label":"Windows"}],"Version":"10.1.1;10.2;10.2.1;10.2.2;8.4.1","Edition":"","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

More support for:
Cognos Business Intelligence

Software version:
10.1.1, 10.2, 10.2.1, 10.2.2, 8.4.1

Operating system(s):
Windows

Document number:
369463

Modified date:
08 May 2025

UID

swg21341433

Manage My Notification Subscriptions