ADELIA |
|
|
|
|
(I) |
|
|
|
|
Section for use
TRANSACTION
Syntax
ROLL_UP
Description
This instruction calls the roll up module for the subfile(s) defined in the transaction where this instruction has been placed; an additional page is added to the corresponding subfiles.
It is only used for subfiles whose loading is managed by Adelia (the MANAGE_SFL and END_MANAGE_SFL instructions are used in the INITIALIZATION section).
This instruction, which is usually placed within the Level 1 instructions:
executes the loading loop(s) of the MANAGE_SFL instruction in the INITIALIZATION block concerned;
returns to the TRANSACTION instruction.
Example
PROCESS 01
TRANSACTION 01
IF *F03
TERMINATE
END
VERIFY 01
IF *ROLLUP
* Loads a new subfile page and returns to TRANSACTION 01
ROLL_UP
END
*
INITIALIZE 02
PROCESS 02
TRANSACTION 02
IF *F12
PROCESS 01
END
VERIFY 02
VALIDATE 02
PROCESS 02