When to call SQLTransact() in a DB2® UDB CLI application

Consider the following items when deciding when to end a transaction: