QMTrapCallAbort |
|
|
The QMTrapCallAbort function enables or disables client side trapping of aborts in QMCall.
Format
where
By default, an abort occurring in a subroutine called using QMCall will display a message box (VB) or display a message. The QMTrapCallAbort function allows an application to trap the abort and take its own recovery action.
When call abort trapping is enabled, use of QMStatus() immediately after return from QMCall will return zero if the call ran successfully or non-zero if an abort occurred. The actual abort message can be retrieved using QMError().
When call abort trapping is not enabled, the value returned by QMStatus() after QMCall is the current STATUS() function value on the server.
When operating with multiple server connections from a single client, the state of call abort trapping applies to all connections
See also: |