FocError contains the return code from the INCLUDE, UPDATE, and DELETE commands. If all the rows in the stack are successfully processed, FocError is set to zero. FocError is set to a non-zero value if:
FocError is a global variable. You do not need to pass it between procedures. Its value is cleared each time a Maintain procedure is called.