Syntax
x_python <python_script_file> [<arguments>...]
Possible call arguments:
x_python <python_script_file> <userid> <password> <dbname> <data_path>
Prerequisites
The following Python modules are shipped with the Replication Manager program and enable you to write Python scripts that can be processed with the
REPM Server.These are the modules you need to use the REPM Server functions. You do not need a complete PYTHON installation.
If you already have a PYTHON installation, add %INSTROOT%\misc to the PYTHONPATH variable.
The Replication Manager supports PYTHON as of version 1.5.2.
Template for Batch Files
The following section contains examples of batch files in Python. Their equivalents in the
Perl script language are also provided for comparison.
Example no. 1 |
|
|
Example. 2 |
|
|
Example no. 3 |
|
|
Example no. 4 Log off |
|
|
Example no. 5 |
|
|