Robert,
the "commit" is a leftover from the MS version of the product. No need to use it with a When\Endwhen rec statement unless you want to reset the XDIM statements for another record statement. In your example, if you want to run a record statement for another flow other than E70 but you can just as easily do it with a when statement.
Akos
PS - using commit is Vadim's largest pet peeve