IDMS: COMMIT v COMMIT ALL
search cancel

IDMS: COMMIT v COMMIT ALL

book

Article ID: 225298

calendar_today

Updated On:

Products

IDMS

Issue/Introduction

What is the difference between a COMMIT and a COMMIT ALL in a network database?

 

Environment

Release : All supported releases.
Component : IDMS

Resolution

A COMMIT command ends a recovery unit for a run-unit.
It makes the updates to the database permanent, and it also releases all update locks.

A COMMIT ALL does the same but it also releases retrieval locks for any records that are current of some record, area or set type, and it clears all of those currencies.

Neither form of the COMMIT verb ends the run-unit (transaction), but following a COMMIT ALL, it is likely that a program will need to re-establish record currencies.

 

Additional Information

COMMIT (COBOL)
Locking Within Central Version
Record Locks