16 Database Not Open
Explanation: This occurs at the end of a large block database
operation (such as, APPEND, JOIN, UPDATE, or TOTAL) and one of the
database files used in the operation is no longer open.
Action: Check the user-defined function used within the erroneous
statement for any statements that close database files.