-1118: Too complicated DRDA SQL statement 

Explanation:

The SQL statement for the DRDA generates more internal pieces of information than can be administered.

User Action:

Simplify the SQL statement or split it into several SQL statements.