EnclosingContext
Provides a map element to be used as the context that encloses a loop.
Normally (if this function is not specified), a loop in the output is enclosed by its nearest looping ancestor output map element. Use this function if you wish the enclosing loop to be a higher level output map element. This is useful when you want the loop context for input map elements inside of this loop to refer to the specific enclosing map element's loop instead of the nearest ancestor. This is used in the X12 EDI HL loop special processing.
Though this function specifies variable arguments, it can have exactly one argument.
This function can only be used in the Contexts argument of a loop expression.
Arguments
Variable arguments | Add the map element to use as an enclosing loop. |