While Informix SQL was executing SQL statements from a command file, it received an error return code or reached the end of the file but found no COMMIT WORK statement. Since a transaction was in progress (either the file contained BEGIN WORK, or the database is ANSI compliant), Informix SQL rolled the transaction back. (It cannot leave the transaction open, and it cannot assume success even when no error was returned.)