The required number of server threads may not be available for your query.
A client message similar to Not enough server threads available for this query [-1010011] ['QXA11'] indicates that the query requires additional kernel threads for the IQ store.
If the condition persists, you may need to restart the server and specify additional IQ threads. Use the -iqmt server startup switch to increase the number of processing threads that SAP Sybase IQ can use.
The default is 60 threads per CPU for the first 4 CPUs, and 50 threads per CPU for the remainder, with 3 more for system use, plus threads needed for database connections and background tasks. For example, on a system with 12 CPUs and 10 connections: 60*4 + 50*(numCPUs - 4) + numConnections + 6 = 656. The minimum value is numConnections + 3. The total number of server threads cannot exceed 10000.