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.
To cancel a query by using the QMF command interrupt, follow these steps:
- While the Database Status panel displays,
press the PA1 key if you are using CICS® and
the ATTN key if you are using TSO.
(If you are using a terminal emulator to simulate the 3270 environment,
right-click on the session you want to cancel, which displays a menu
of key names.)
The following message displays:
DSQ50465 QMF command interrupted! Clear screen and press ENTER.
- Press the Clear function key.
- Press Enter.
The QMF Command Interrupt panel displays, as shown in the following figure.
- On the QMF command
line, enter CANCEL. QMF cancels the query.