By default, DB2 for Linux, UNIX, Windows locks at the row level. When you do an update, insert, or delete, the row is locked in exclusive mode (X). Locks are not released until you issue a commit (or when the calling program issues a commit). Therefore, all your updates will be in a single unit or work (or single atomic transaction) until you commit.