The Occurrence Number


Many statements allow you to specify which occurrence of a multi-occurrence field you want to compare or operate on. For example:

    TT    IF       TGL COUNT                  001 EQ TGL COUNT                  002

The left-hand field in this example refers to the first occurrence of the field COUNT in the TGL application, and the right-hand field refers to the second occurrence of the field COUNT. You indicate if a field is to have more than one occurrence as a specification in the data dictionary.