In a DB2/COBOL progam, we are updating a table and somehow we miss to code COMMIT inside the program. Will the table be updated when the program executes successfully? Or basically he wanted to ask what is the default when no commit is explicitly specified

My answer): When program executes successfully then COMMIT will happen on its own. Hence the table will be udpated.

____________

My confusion: I used to think that permanent updates take place when we explicity write COMMIT inside the program. Without coding COMMIT too it works ??? Really a news to me ...