gtpa3m0n | Application Requester User's Guide |
Error handling for TPFAR follows four basic guidelines:
For example, if an application issues an SQL INSERT command and then exits without explicitly issuing an SQL COMMIT command, an implied COMMIT will be issued. TPF then issues a dump. If the implied COMMIT fails for any reason, an implied ROLLBACK is issued, and the SQL INSERT command into the table is backed out. Because the application has already exited, there is no way to report that the SQL INSERT command was backed out. This can cause the loss of data integrity. A case where the implied COMMIT could be used is when you are querying data. Because no tables are updated, if the SQL COMMIT command fails, it may not be important to the application.