CANCEL,QUERY command
You can cancel queries that are running on a Classic data server or enterprise server.
Before you begin
Before issuing this command, issue the DISPLAY,QUERIES command
to get the name and session ID for the query that you want to cancel.
About this task
The cancel command takes effect when the query processor is not actively processing the query to be canceled. Users are notified upon completion of any action of theirs that follows the issuing of the command.
To cancel a query, issue the following command using the MTO interface:
F name,CANCEL,QUERY=name,SESSIONID=session ID