FOR_EACH_INDEX

LANSA Composer

FOR_EACH_INDEX

This is an iterator activity.  It will iterate for each index value in the range specified by the input parameters.  The processing logic nested beneath the activity is repeated for each index value.

INPUT Parameters:

INDEXFROM : Optional

This parameter specifies the starting index value.  If not specified a default value of 1 (one) is used.

INDEXTO : Required

This parameter specifies the ending index value.  Iteration ends when the current index value exceeds the value of this parameter.

INDEXSTEP : Optional

This parameter specifies the value by which the index is incremented for each iteration.  If not specified a default value of 1 (one) is used.

OUTPUT Parameters:

INDEXOUT

This parameter contains the current index value during each iteration.