Rational Developer for System z

OCCURS DEPENDING ON

This section identifies OCCURS DEPENDING ON concepts.

OCCURS DEPENDING ON arrays are fully editable within Rational® Developer for System z® File Manager. Within the Formatted Data Editor, the number of editable instances within an OCCURS DEPENDING ON array is determined by the array's defining object value. Altering the value within the defining object will change how many editable fields are available within a specified array. If the number of editable fields defined is less than the maximum set by the template in use, the remaining undefined fields in the array will appear shaded as depicted in the figure below, and will not be able to be modified until the defining object value for that array is changed to include any remaining instances.

An array's defining object value is located before the start of the actual array and can be edited by selecting its value and replacing it with a new value. As the defining object value increases to add additional editable fields, any instances that were once shaded will lose their shading as they are added to the array.

Figure 1. OCCURS DEPENDING ON
Displays a list of defined and undefined OCCURS DEPENDING ON arrays on the right with their corresponding defining objects on the left.

Feedback