IBM Support

DMS-E-SS_SYNTAX, A syntax error was detected near ''TIMESTAMP''.

Troubleshooting


Problem

Unable to convert the datetime column in the main query to a date using the datetime-to-date function when joining a sub-report to the main report on a datetime column. [Error Message -] Error number -239: DMS-E-GENERAL, A general exception has occurred during operation 'prepare request'. DMS-E-SS_SYNTAX, A syntax error was detected near 'TIMESTAMP'.

Resolving The Problem

1. Remove the datetime-to-date function from the date column in the main query.
2. Run the report to ensure the error does not occur.
3. Remove the filter on the sub-report joining the sub-report to the main query.
4. Add the datetime-to-date function to the datetime in the main query.
5. Run the report again.
6. Add filter back into the sub-report.
7. Run the report again.

[{"Product":{"code":"SSTQPQ","label":"IBM Cognos Series 7 PowerPlay"},"Business Unit":{"code":"BU053","label":"Cloud & Data Platform"},"Component":"Impromptu","Platform":[{"code":"PF025","label":"Platform Independent"}],"Version":"Impromptu 6.0;Impromptu Web Reports 7.3","Edition":"","Line of Business":{"code":"LOB10","label":"Data and AI"}},{"Product":{"code":"SSTQPQ","label":"IBM Cognos Series 7 PowerPlay"},"Business Unit":{"code":"BU053","label":"Cloud & Data Platform"},"Component":"Impromptu Web Reports","Platform":[{"code":"","label":""}],"Version":"","Edition":"","Line of Business":{"code":"LOB10","label":"Data and AI"}}]

Historical Number

119792

Document Information

Modified date:
15 June 2018

UID

swg21349267