ARR is similar to the WRK context but is used only for a multiple-instance array parameter. This context is only available on a function call statement in the Action Diagram of functions of type Execute External Function.
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 for an Execute External Function (EXCEXTFUN) or Execute User Program (EXCUSRPGM) being passed as RCD (ARRAY). Anywhere from a few to thousands of customer records can be passed in that one parameter in one single function call.
| Copyright © 2011 CA. All rights reserved. | Tell Technical Publications how we can improve this information |