Merge |
|
The Data Dictionary Merge utility allows table definitions to be merged from one set of dictionary files (providex.ddf/.dde) to another.
Processing a merge involves defining a merge option to deal with cases where the table being merged already exists in the destination dictionary files. You can select an option to replace the contents of the table definition in the destination file, merge the contents of the source and destination files (with the source definition taking precedence), or skip the table.
Invoke the Data Dictionary Merge utility by selecting Utilities > Merge from the Data Dictionary Maintenance menu bar.
This utility consists of the following:
Dictionary Source File |
Path to the dictionary source file. |
Dictionary Destination File |
Path to the dictionary destination file. |
Tables |
Lists the dictionary tables displayed by file groupings in a tree view format. Clicking on a particular table will cycle through the options for dealing with duplicate tables. Clicking on a file group will cascade the setting for the group to its associated tables. Clicking on the source path at the top of the tree will select for the entire tree. |
Table Details |
Displays the element descriptions and indexes for a selected table. |
Help |
Button used to invoke the Legend popup that describes the Table option symbols. |
Preview |
Button used to display a report view list box showing the pending result of merging a table highlighted in the tree view, using the specified Merge option. |
Merge |
Button used to initiate the merge logic. During a merge, the status bar at the bottom of the window will be updated with the name of the table being processed. Merge processing will be accomplished using the Merge( ) method of the object. |
Close |
Exits the Data Dictionary Merge utility. |
The Merge utility can also be called from a PxPlus program.
|
CALL "*dict/merge;MERGE_TABLES",SrcDDF$,SrcTable$,DestDDF$,MergeOpt$ |
|
or |
|
CALL "*dict/merge;MERGE",SrcChan,SrcTable$,DestChan,MergeOpt$ |
Where:
|
SrcDDF$ |
Path to the dictionary source file (providex.ddf). | ||||||
|
SrcChan |
Open channel to the dictionary source file (providex.ddf). | ||||||
|
SrcTable$ |
Name of the table to be merged from the source dictionary. If omitted, then all tables are merged. | ||||||
|
DestDDF$ |
Path to the dictionary destination file. | ||||||
|
DestChan |
Open channel to the dictionary destination file. | ||||||
|
MergeOpt$ |
Option for dealing with tables in both source/destination files: | ||||||
|
|