FocCurrent contains the return code from logical transaction processing. This variable indicates whether or not there is a conflict with another transaction. If the variable value is zero, there is no conflict and the transaction is accepted. If the value is not zero, there is a conflict. FocCurrent is set after each COMMIT and ROLLBACK command.
FocCurrent is local to a procedure. If you wish a given FocCurrent value to be available to another procedure, you must pass it to that procedure as an argument.