This is very close to a null content statement. Do you mean:
1. the statement is accepted but not producing results?
2. the statement is accepted but producing incorrect results?
3. the statement is not accepted by DB2?
4. the statement caused DB2 to crash?
5. the statement caused an abend?
6. something else? if so, what?
Since you did not specify which of these possibilities occurred, are we to guess? Maybe solve your problem, maybe not? Wait for more information? Wait for you to learn how to pose a question?