Previous Topic: Multiple-instance Arrays and the ARR Context

Next Topic: Enhanced Array Support Terms

Enhanced Array Support

Before Release 8.6, you could define a parameter to a function to be passed as a FLD, RCD, or KEY.

Release 8.6 gives you the ability to pass certain parameters as an array.

By passing a parameter as an array, multiple instances of data can be passed in or out, in a single call to a function. For example, if a customer record structure is defined in the Customer array on the *Arrays file, that array can be used to define a parameter to an Execute External Function (EXCEXTFUN) or Execute User Program (EXCUSRPGM) being passed as RCD (ARRAY), any amount of customer records can be passed in that one parameter, in one single function call.

The Edit Function Parameters Panel and the Edit Function Parameter Details Panel were updated to accommodate this enhancement.