Command-line references
- Last Updated: August 8, 2023
- 2 minute read
- OpenEdge Pro2
- Version 6.5
- Documentation
Pro2 supports command-line operations for some of the web interface tool
operations. This is an alternative to performing the tasks using the command prompt
instead of the web interface. This topic explains the different modes and their
respective syntax to execute the administrative tool operations. These operations can be
executed using the BatchGen.bat file located in the
Scripts folder of your Pro2 installation.
LOAD_CONFIG: Loads the configuration
file from the location given using the PATH
variable.
|
SAVE_CONFIG: Saves the current
configuration to the path given in the PATH
variable.
|
AUTO_DBXREF: Adds the database map
record to the Database Mapping table.
|
GEN_TGT: Adds the Microsoft SQL
Server database map record to the Database Mapping table.
|
AUTO_MAP: Maps the tables that were
automatically mapped, listed in the Mapping table.
|
GEN_PROCS: Generates the Process
libraries, Replication triggers, Bulk-copy processors to the default location
specified in properties file.
|
GEN_TGT_DIFF: Generates the target
differential files and saves them to the location given in PATH
variable.
|
TGT_DELTA_DF: Generates the trigger
Delta DF file to the location given in the PATH
variable.
|
GEN_DELTA_DF: Generates a Delta DF
file on the WAN side and saves the files to the location given in the
PATH variable.
|
CHECK_GEN_Q REC: Enables the
functionality of generating replication queue records for single and multiple tables
(which are separated by comma (,)).
|
Parameters
- TABLE
- Name of the mapped table. You can specify a single table name, multiple table names or ALL.
UNCHECK_GEN_QREC: Disables the
functionality of generating replication queue records for single and multiple tables
(which are separated by comma (,)).
|
Parameters
- TABLE
- Name of the mapped table. You can specify a single table name, multiple table names or ALL.
ADD_THREAD: Adds a new replication
thread.
|
Parameters
- THREAD_NUM
- A number for the thread you are adding. The value must be an INTEGER ranging between 1 and 99.
DEL_MAP_TABLE: Deletes a mapped
table along with its mapped fields for single and multiple tables (which are
separated by comma (,)).
|
Parameters
- TABLE
- Name of the mapped table. You can specify a single table name, multiple table names or ALL.
DEL_DBMAP: Deletes the mapped
records of a database.
|
Parameters
- DB
- Name of the database. You can specify a single database name or ALL.
CHECK_CRC: Checks whether the CRC
matches for mapped tables in the source databases and the local databases in a WAN
environment.
|
Parameters
- DB
- Name of the database. You can specify a single database name or ALL.
SYNC_REPL: Synchronizes the
replication database table values in a WAN environment.
|
CDC Purge: The CDC Purge menu item
can be used to delete the data of change records other than the old data based on
user input about the number of days of data that should be deleted and the maximum
number of records that should be deleted per batch.
|