the pgm does an INSERT, after this the row is there and can be seen with SELECT; than I CLOSE a non existing cursor, which rolls back the INSERTed data:
I have not done coding in ESQL/C in a long time, but shouldn't that be expected as any error should trigger a rollback.