Report and Update Functions |
Virtual Machine |
By default, automatic commits are scheduled on completion of a committable Report or Update cycle. At any given time, there is at most one committable Report or Update cycle, defined as the least-nested Report and Update cycle in execution with file specifications. Since it is not currently possible to define a Report or Update without file specifications, LR/LU1 is always the committable Report and Update cycle.
The following exceptions apply:
An automatic commit occurs after a file is cleared.
An automatic commit will also occur at the end of the function. Note that this differs from completion of LR/LU1, which would be bypassed by an FNEXIT statement in logic.
|
|
|
|
|
|
|
|
Automatic commits will occur |
Clear |
FILE2 |
FILE4 |
|
|
|
|
|
after each file is cleared |
|
|
|
|
|
|
|
|
|
LR1 |
|
|
|
|
|
|
|
|
read |
FILE1 |
FILE2 |
|
|
|
|
|
|
|
LR2 |
|
|
|
|
|
|
|
|
read |
FILE3 |
FILE4 |
|
|
|
|
|
|
write |
|
FILE4 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
LR3 |
|
|
|
|
|
|
|
|
read |
FILE5 |
|
|
|
|
|
|
|
|
LR4 |
|
|
|
|
|
|
|
|
read |
FILE6 |
|
|
|
|
|
|
|
write |
FILE6 |
|
|
|
|
Automatic commit will occur |
|
write |
FILE5 |
|
|
|
|
|
on completion of LR1 and |
write |
FILE1 |
FILE2 |
|
|
|
|
|
when the function ends |
|
|
|
|
|
|
|
|
|
LR5 |
(called) |
|
|
|
|
|
|
|
read |
FILE7 |
FILE8 |
|
|
|
|
|
|
write |
FILE7 |
|
|
|
|
|
|
|
Topic ID: 720191