You can execute a scenario on a host machine if:
An import/export connector (IEC) is installed on the host
The scenario to be executed is saved in a directory
You can execute only one scenario at a time with one connector. To execute a scenario, you launch a connector executable with the scenario filename as an argument.
Procedures
Refer to the table below:
|
Environment |
Executable |
Procedures |
|
MS Windows |
iec.bat |
To launch a connector program 1. Open a COMMAND window 2. Type: cd <IEC_INSTALL_DIR>\bin 3. Press ENTER 4. Then type: iec.bat <ARGUMENTS> 5. Press ENTER
To stop a connector, close the COMMAND window in which the scenario is running in a connector. |
|
UNIX |
iec.sh |
To launch a connector program 1. Open a UNIX console window 2. Type: <IEC_INSTALL_DIR>/bin/iec.sh <ARGUMENTS> 3. Press ENTER
To stop a connector, close the UNIX window in which the scenario is running in a connector. |
Where:
<IEC_INSTALL_DIR> is the installation directory of an import/export connector (IEC) program; Its launch scripts are available in the bin subfolder.
<ARGUMENTS> are the mandatory and optional options to be executed
The description of the command arguments is the following:
-login <USR_LOGIN> -password <USR_PASSWORD> <SCENARIO_DIR> -uri <CCD_URIS> [-rootDir [<LOG_DIR>]] [-scheduled]
Where:
<USR_LOGIN> is the login of a power user or administrator having the right to execute the connector program
<USR_PASSWORD> is the password of the technical user identified with <USR_LOGIN>
<SCENARIO_DIR> is the path to the scenario file to be executed by the connector
<CCD_URIS> is the comma-separated URIs of the dispatcher instances of SAP CC Core Server; The URI syntax is <PROT>://<HOST_ADDRESS>:<MSG_TCP_PORT> where:
<PROT> is the communication protocol; the possible values are: tcp and tcps (secured channel).
<HOST_ADDRESS> is the hostname or the IP address (IPv4 or IPv6) of the machine hosting the dispatcher instance related to the URI; View the instance map of the SAP CC system.
<MSG_TCP_PORT> is the port number of the host that is dedicated to the dispatcher instance for the communications via the Message TCP technical interface; View the instance map of the SAP CC system.
|
Notes:
|
-rootDir [<LOG_DIR>] is an optional argument; <LOG_DIR> is the directory where the log files are saved; if <LOG_DIR> is not mentioned, the default directory is the user working directory that depends on the procedure used to launch the connector program.
-scheduled is an optional argument; this argument enables the scheduler as configured in the scenario to be executed; if this argument is not mentioned, the scenario is executed only once even if the scenario defines regular activities