Your answer is justifiable from the usage of Recovery Techniques implemented widely in IDMS Programs one of which is as below.
Executing a COMMIT statement after processing every certain number of records and displaying the Total Record# processed & records information consecutively. This logic would help in recovery in case IDMS Programs abend after processing certain records. The programmer would come to know how many records were processed and which are all the records that are to be included as part of the recovery.
if the program runs in local mode(offline) all the changes before a commit will also be saved. If it runs in CV mode(online) all uncommitted changes will be rolled back..