Previous Topic: ARR

Next Topic: Enhanced Array Support

Multiple-instance Arrays and the ARR Context

Arrays are a standard component of the 2E model that you might have utilized in the past. An array is a structure, comprised of multiple fields (array subfields), that has a specified number of elements. Arrays are defined in the *Arrays file.

Prior to release 8.6, there were three ways to use an array:

With the second and third uses, only a single instance of the array structure was referred to – the array was being used only as a structure definition, in other words.

With Release 8.6, we increased the ways you can use arrays:

Important! As a CA 2E developer, you need to understand the architectural distinction between the two mechanisms to manipulate array data, despite the ability to use a common structural definition:

To make this new functionality possible, we created a new array-related context, ARR context. The ARR context is similar to the WRK context, but is used to define a multiple-instance array. Similar to fields in the WRK context, arrays in the ARR context are initialized during program initialization.The ARR context is available in the following circumstances: