Data Dictionary Maintenance

Update Global Dictionary Elements

The Update Global Dictionary Elements window is used to quickly update all or only selected occurrences of a global element in the data dictionary with any changes saved to the element definition in the Global Dictionary.

A global element can be added to one or multiple data files in the data dictionary. When a global element definition is changed, the element is updated in the Global Dictionary but is not updated automatically in other data files where it exists. The update can be done using the Update Global Dictionary Elements window.

To apply this functionality, two conditions must be met:

The element being updated must be a Global Dictionary element.  AND

Elements with the same Name and Type as the global element exist in other data files.

To invoke this window in the Element Description window, use one of the following methods:

Select a global element. Click the Update Global Dictionary Elements in other Files button. If no elements with the same Name and Type as the global element exist in other data files, a message will display, and the Update Global Dictionary Elements window will not be invoked.

When saving changes to a global element: If elements with the same Name and Type exist in other data files, a message asks about applying the same change(s) to the other elements. Respond Yes to invoke the Update Global Dictionary Elements window.

(Update Global Dictionary Elements was added in PxPlus 2019.)

This window consists of the following:

Global Element

(Display Only) Name of the global element currently selected.

(Global Element List Box)

(Display Only) Displays information based on the current definition for the selected global element.

Elements in the Dictionary with the same Name and Type

Lists all occurrences of elements in other data files with the same Name and Type (string or numeric) as the selected global element. Details of each definition are displayed for comparison with the global element details in the above list box to see at a glance whether the element found is a copy of the global element.

Select the check box for any element that is to be updated with the current global element definition.

Select/Deselect all

Selects/deselects all elements in the Elements in the Dictionary with the same Name and Type list box.

Apply

(Available when one or more elements are selected in the Elements in the Dictionary with the same Name and Type list box)

Applies the current global element definition to the element(s) selected in the Elements in the Dictionary with the same Name and Type list box.

A message asks if you also want to rewrite the Data Dictionary on the physical file. Responding Yes rewrites only the Data Dictionary on the physical file. Responding No does not update the physical file.

Note:
The definitions for the selected elements will be overwritten with the current information from the global element.

(The message to rewrite the Data Dictionary on the physical file was added in PxPlus 2020.)

Cancel

Cancels any selections and closes the Update Global Dictionary Elements window.