Canceling a running query
You can cancel a query by interrupting the RUN QUERY command. Queries might also be canceled by the QMF governor.
About this task
In addition to your canceling a query yourself, your site might have a governor interrupt routine. The interrupt routine can attempt to cancel a query that takes a long time to run or tries to retrieve too many rows.
If a QMF governor prompt panel similar to the one in the following figure displays while you are trying to run a query, follow the instructions on the panel to cancel the query or continue. If you continue, the QMF governor can still cancel your command.
DSQnnnnn QMF governor prompt:
Command has executed for xxxxxxxxx minutes
and fetched yyyyyyyy rows of data.
==> To continue QMF command
press the ENTER
key.
==> To cancel QMF command
type CANCEL
and then press the ENTER key.
==> To turn off prompting
type NONPROMPT
then press the ENTER key.
Procedure
To cancel a query by using the QMF command interrupt, follow these steps: