Running an online query with Dataquery fails with error:
FIND TERMINATED BECAUSE: MAX WORK FILE BLOCKS EXCEEDED
When the error occurs online in CICS it indicates that the FNDBLKS limit has been reached.
If the error occurs in batch then the problem is the DQW table is too small, see Article 106078
Do one of the following:
If the above steps do not resolve the problem, it could be that the DQF table is too small and needs to be enlarged. Use the same procedure as described in Article 106078 to enlarge the DQW table.
For more informatio about the Dataquery options, see documentation section Tailoring the CA Dataquery System Option Table and Overriding System Defaults.