A manually created IQD file is not accepted by Transformer, which throws a syntax error whereas the SQL statement is correct and works fine through the database client tool.
SymptomTR0118 Transformer can't read the database <...> defined in <...>.
DMS-E-GENERAL, A general exception has occurred during operation 'prepare request with options'.
DMS-E-SS_SYNTAX, A syntax error was detected near '<...>'
The Cognos UDA layer tries to interpret the SELECT order as if it was generated by Impromptu or Framework Manager, but the SQL statement contains a specific database function or syntax that is not recognized.
Inform the UDA layer that the request should be sent directly to the database by enclosing the whole statement into brackets {}
Steps:- Open the IQD file in a text editor
- Enclose the SQL statement into brackets like this :
...
BEGIN SQL
{SELECT ...
FROM ...
WHERE ...}
END SQL
...
- Save the IQD
1031787
--------------------------------------------------------------------------------------------------------------------------------
附原文链接已失效:http://www-01.ibm.com/support/docview.wss?uid=swg21370906
我是通过google的网页快照才有机会看到上面的解决方法:本地SQL外套个{}即可。
如此简单的解决方法,我只能感慨下没文化真可怕,亦或是大道至简?想想自己连基本的IQD文件编辑常识都知道不多,活该遇到这种问题都得花大量时间折腾。
如果觉得我的文章对您有用,请点赞。您的支持将鼓励我继续创作!
赞0
添加新评论0 条评论