You are here:
Geoprocessing tool reference > Data Management toolbox > Distributed Geodatabase toolset > Tools

# Export Data Change Message (Data Management) (ArcInfo and ArcEditor only)

Release 9.2

Print all topics in : "Tools"

Related Topics

Creates an output delta file containing updates from an input replica.

Usage tips

• This tool is used when synchronizing replicas in disconnected mode. Additionally see the Import Message, Export Acknowledgement Message and Re-Export Unacknowledged Messages tools. To synchronize replicas in a connected mode see the Synchronize Changes tool.

• The following environment settings affect this tool: workspace, scratch workspace, and Configuration keyword.

Command line syntax
An overview of the Command Line window
ExportDataChangeMessage_management <in_geodatabase> <out_data_changes_file> <in_replica> {switch_to_receiver} {include_unacknowledged_changes} {include_new_changes}

 Parameter Explanation Data Type Specifies the replica geodatabase from which to export the data change message from. The geodatabase may be local or remote. Workspace | GeoDataServer|GPComposite Specifies the delta file to export to. File The replica containing updates to be exported. String {switch_to_receiver} Indicates whether to change the role of the replica to that of a receiver. The receiver may not send replica updates until updates from the relative replica sender arrive. DO_NOT_SWITCH — Do not switch replica role. This is the default. SWITCH — Switch replica role from sender to a receiver. Boolean {include_unacknowledged_changes} Indicates whether to include data changes that have been previously exported for which no acknowledgement message has been recieved. NO_UNACKNOWLEDGED — Do not include data changes that have previously been sent. UNACKNOWLEDGED — Include all of the data changes that have been previously exported for which no acknowledgement message has been sent. This is the default. Boolean {include_new_changes} Indicates whether to include all data changes created since the last exported data change message. NO_NEW_CHANGES — Do not include data changes created since the last exported data change message. NEW_CHANGES — Include data changes created since the last exported data change message. This is the default. Boolean
Data types for geoprocessing tool parameters

### Command line example

ExportDataChangeMessage Countries.mdb d:\delta.mdb MyReplica1 TRUE FALSE TRUE

Scripting syntax
About getting started with writing geoprocessing scripts
ExportDataChangeMessage_management (in_geodatabase, out_data_changes_file, in_replica, switch_to_receiver, include_unacknowledged_changes, include_new_changes)

 Parameter Explanation Data Type in_geodatabase (Required) Specifies the replica geodatabase from which to export the data change message from. The geodatabase may be local or remote. Workspace | GeoDataServer|GPComposite out_data_changes_file (Required) Specifies the delta file to export to. File in_replica (Required) The replica containing updates to be exported. String switch_to_receiver (Optional) Indicates whether to change the role of the replica to that of a receiver. The receiver may not send replica updates until updates from the relative replica sender arrive. DO_NOT_SWITCH — Do not switch replica role. This is the default. SWITCH — Switch replica role from sender to a receiver. Boolean include_unacknowledged_changes (Optional) Indicates whether to include data changes that have been previously exported for which no acknowledgement message has been recieved. NO_UNACKNOWLEDGED — Do not include data changes that have previously been sent. UNACKNOWLEDGED — Include all of the data changes that have been previously exported for which no acknowledgement message has been sent. This is the default. Boolean include_new_changes (Optional) Indicates whether to include all data changes created since the last exported data change message. NO_NEW_CHANGES — Do not include data changes created since the last exported data change message. NEW_CHANGES — Include data changes created since the last exported data change message. This is the default. Boolean

Data types for geoprocessing tool parameters

### Script example

# Create the Geoprocessor object
import arcgisscripting, sys, scripting, os
gp = arcgisscripting.create()

# Set the necessary product code
gp.SetProduct("ArcInfo")

gp.ExportDataChangeMessage_management("Database Connections\Connection to workspace.sde", "d:\delta.mdb", "MyReplica1", "TRUE", "TRUE", "TRUE")