Execution : When getting the dependent entries for hierarchical operations
This event occurs when getting the dependent entries for hierarchical view cluster operations (for example, delete).
At this event, you can specify selection conditions for subset fields which cannot be derived from view cluster field dependencies, as follows: To do this, perform the following steps:
An entry with an empty predecessor field must be specified in the field dependency for the subset field.
Pass the subset field value in the event in the global variable VCL_REDUCTION_AREA.
VCL_REDUCTION_AREA is an unstructured work area. You must put the value in the correct position. You can use the structure of the view/table.
The global variable VCL_OBJECT_AREA contains the entry in the higher-level object for which the dependent entries are determined.
If no routine is specified at event 11 for a view cluster object which contains such a subset field, all dependent entries are taken into account, regardless of the value of the subset field.