Not getting an output from Execut command of Database ( DB2)

While querying DB2 database , it is throwing an error. “Unknown SQL type - -360.”, Same query is working in AQT( Client of DB2). Moreover other query through uipath is working fine. I have attached the text document for the query: q2.txt (11.3 KB)
xaml file
Test.xaml (14.7 KB)
Error Screen -shot


AQT Client :

Show us your query that’s in the Execute Query activity.

query is very long that’s why i put it in q2.txt. I am re attaching it.

query file : q2.txt (11.3 KB)