When the Dataquery batch work file DQW needs to be increased in size , it has to be formatted with at least the same number of partitions it currently has.
This article provides a way to find out the number of partitions by running a batch report.
Execute program DQWFINIT with input card DQW ??? .
Note: "DQW" is in positions 1-3 and "???" in positions 5-7 as follows:
//SYSIN DD *
DQW ???
/*
The output report looks like this:
Date mm/dd/yyyy Time HH:MI:SS ********************************************************* Page 1
* CA Dataquery for CA Datacom *
* Dataquery Work File Create * Version 15
* COPYRIGHT (C) 1990-2015 CA. ALL RIGHTS RESERVED. *
*********************************************************
NUMBER OF DQW PARTITIONS = nn
where nn is the current number of partitions.
For further information on the DQW table, please see the documentation topic Enlarging the DQW.