NaturalONE Version 8.3.7
 —  Predefined Object Types in Predict  —

Rippling - Ensuring Consistent Data Definitions

This document covers the following topics:


Overview

Predict rippling options can be used to define a standard, hierarchical data structure and to ensure consistent use of this structure throughout an organization: Whenever field definitions on higher levels are changed, all data definitions on lower levels (including views/userviews) are automatically updated.

Check against standard

This option determines whether attribute changes in standard fields are rippled to connected fields. See also Check against standard in the section Field.

Top of page

Rippling from Standard Files

Coupling of Standard Fields

Standard fields and connected fields are coupled internally by means of Internal ID.

The coupling remains intact even if the connected field is subsequently renamed.

To couple fields select the Field List tab and select a field.

Rippling - Step 1

Choose the Standard button and select a related standard file and field in the resulting window.

Rippling - Step 2

Functional Scope

The following attributes of a standard field can be rippled to coupled fields at lower levels.

If an attribute is not defined in a standard field (which means the attribute is blank if it is alphabetic, or zero if it is numeric), no rippling takes place for this attribute and the lower-level object can be modified without restriction. It is therefore possible to have some field attributes defined centrally and others modifiable without restriction at lower levels. See also Changing Coupled fields.

Note:
If one of the attributes above is changed and this change is not compatible with the coupled field, the attribute Check against standard of the field is set to N. For example: If you change a field type to HY (hyperdescriptor, this change is not rippled to coupled fields in DB2 files and the attribute Check against standard of the coupled fields is set to N.

Rippling the Attribute Descriptor Type

The attribute Descriptor type of a standard field can have the following values:

D Disallowed. The descriptor type of coupled fields must be blank. All non-blank descriptor types in coupled fields are set to blank.
F Force. The descriptor type of coupled fields may not be blank. If a coupled field has a non-blank descriptor type, no rippling is performed. If a coupled field has descriptor type blank, the descriptor type is set to N and a message is given.
blank Undefined. The descriptor type of coupled fields can be any value, including blank. No checks are performed, no rippling takes place.

Rippling Verifications

When the verification list of a standard field is edited, corresponding changes are automatically made in the verification list of every field derived from the standard field. The following rules apply:

Changing Coupled Fields

The following rules apply when changing fields at lower levels:

Uncoupling Fields from Standard Fields

Fields can be temporarily or permanently uncoupled from the standard field with the parameter Check against standard.

Top of page

Rippling from Master Files to Views/Userviews

The following rules apply:

For example: if a field in a userview is derived from a master field of type T (time), the field in the userview can only be changed to format P with length 13.

All other changes are rejected.

Coupling of Master Fields and Fields in Views/Userviews

The coupling between master files and views/userviews depends on whether the view is derived from a single master file or from one or several master files.

Single-Master Views

Userviews are derived from one of the following master files:

Master fields and fields of Userviews are coupled by field short name (column DB in field maintenance screens).

The following table indicates the valid combinations of view types and master file types:

Type of View Type of Master File
AT A
B A(SQL) AT, B
BV BT, BV
E, IV D, E, IV
J I
JV JT, JV
K I
L V
OV OT, OV
Q P
R L
U A
W V
XV XT, XV
YV YT, YV

Multiple-Master Views

For views which can be derived from several master files, the coupling is established by parameters from Table/View ID and from Field ID in the field List of the file documenting the view. This applies to the following master file types:

Functional Scope

If fields in a master file are modified, views and userviews coupled to these fields are changed accordingly. The following rules apply for this rippling:

Attributes which are always Rippled

The following attributes are always rippled:

Attributes which are Rippled if Identical

The following attributes are rippled if the attribute values in the userview and the master field were identical before the master field was modified:

Abstract

The abstract of a field is rippled according to the setting of the following parameter in the Profile SYSTEM

Ripple abstract
N Abstract is not rippled.
T Abstract is rippled.
L Abstract is rippled only if the abstract was identical in the view/userview and the master file before the abstract was changed in the master file.

Rippling Verifications from Master Field to View/Userview

When a verification list of a master field is edited, corresponding changes are automatically made in the verification list of fields in the view/userview derived from the master file. The following rules apply:

Top of page