There is no room to open additional query control blocks. A user may open up to 50 queries at one time. The actual number
of queries open at one time depends on the complexity of the queries. Try rewriting your program so that it is not necessary
to hold so many queries open at the same time. In server versions, use the XDB Server Configuration utility to increase the
number of available query control blanks.