DBcancel cancels the currently executing query.
process_cancel integer
message string
connect_information DBconnectInformation group
return_code int
DBcancel cancels the currently executing query. Canceling a query may be necessary for reasons such as the following:
The query is returning too many rows (it was not selective enough).
The query is returning the wrong data (it was stated incorrectly).
A pointer to the connection descriptor of the session in which DBquery is to execute. This is the output of the DBconnect module that initiated the session.
CAUTION: Do not modify this value. A fatal error will result.
A trigger that initiates execution of the cancellation of a query. When this value changes to a value greater than 0, the cancel is executed.
CAUTION: Do not modify this value. A fatal error will result.
A message that describes the status of the call to DBcancel. For a list of possible values, see ."
Information about the current connection:
the status of the connection: connected (1) or disconnected (0)
This parameter is of type DBconnectInformation. For more information, see DBconnectInformation .
The status code associated with the message returned in the message parameter. A value of 0 indicates success; a nonzero value indicates failure. For a list of possible values, see The Toolkits Book .