Specifies whether the runtime should be halted in case of an error in the begin transaction.
If you enable this option, the runtime will be halted in case of an error. Otherwise it will continue running the script.
Kernel.bdh
SetCancelOnErrorInBeginTransaction( in bCancel : boolean );
Parameter | Description |
---|---|
bCancel | If this parameter is set to true, the runtime will be halted in case of an error in the begin transaction. Otherwise, the runtime will continue running the script. |
dcltrans transaction TInit begin SetCancelOnErrorInBeginTransaction(true); RepMessage("Custom Error", SEVERITY_ERROR); end TInit;