If a program updates/inserts many lines in database and in case of abend it should commit the earlier work done. What is the method to do this? Other than counting lines and commiting after a predefined number.
All of the programs I have created/maintained do the commit processing with code in the program. As far as I know, there is nothing like a system setting to tell the database handler to commit every so often.