This statement stops the execution of all actions being run grouped. The statement can be executed always or only if the action test state is true or false.
While executing stepwise, the statement is identical to the Exit statement.
While executing grouped, the statement essentially successively returns to the outermost action running stepwise. If all actions are being run grouped, action processing will terminate.
example:
Stepwise action A is calling grouped action B with file 3
grouped action B calls grouped action C
grouped action C calls grouped action D which executes an Exit Grouped statement
After an Exit Grouped statement is executed, processing resumes at the statement in action A after the call to grouped action B.
The statement can also optionally set the action test state to true or false if the statement is executed.
For additional information see Flow Control