Previous Topic: LISTTIME CommandNext Topic: NMEXPORT Command


NMDBMERGE Command

The NMDBMERGE command merges a previously exported copy of a database into the current Notification Manager database. Names (entity name, method name, time block name, and so on) are used to check for duplicate data. If a duplicate is found, the original data is replaced with the imported data. Otherwise, a new entry is created in the database. Your list of past notifications is not merged during this operation. Your original list of notifications remains unchanged after this operation. The NMDBMERGE command merges existing data with imported data.

This command has the following format:

ADDRESS VOX "NMDBMERGE PATH(path)"
PATH

Specifies the name of the path from which the exported database is retrieved.

Return Information:

After the NMDBMERGE command executes, it sets the special REXX return code variable RC.

Usage Notes:

Example:

The following example imports a copy of an exported database that resides in the G:\TEMP_EXP directory:

ADDRESS VOX "NMDBMERGE PATH(G:\TEMP_EXP)"

Note: The NM Database Backup and Restore dialog in the Configuration Manager is used to merge previously exported copy of a database into the current NM database. The option Update Existing NM Database performs the same action as the NMDBMERGE command.