AT

Reference

Syntax

[AT FIRST.
   ...
ENDAT.]
  [AT field_groupi [WITH field_groupj].
    ...
  ENDAT.]
    [AT NEW comp1.
       ...
     ENDAT.
       ...
         [AT NEW comp2.
            ...
         ENDAT.
           [...]]]
             [ ... ]
         [[[...]
         AT END OF comp2.
              ...
           ENDAT.]
       ...
     AT END OF comp1.
       ...
     ENDAT.]
[AT LAST.
    ...
ENDAT].


Effect

Control level processing within LOOP loops through internal tables or extraction datasets, where statement blocks enclosed in AT and ENDAT are executed in conjunction with conditions.

Additions