Previouslast Up
sequencedcollection
occurrencesOfNext

sequencedcollection Method lastIndexOf

Return the index of the last occurrence of anElement between the index positions fromIndex and toIndex. This method works backwards through the the collection. If anElement does not occur between these indices, then return zero.

Using Parameters
anelement GROUP
fromindex PIC S9(9) COMP-5
toindex PIC S9(9) COMP-5
Returning Parameter
anindex PIC S9(9) COMP-5