R3_ACTIVATE_EXT_COMMAND
Use the R3_ACTIVATE_EXT_COMMAND script element to execute an external command.
Transaction: SM36
Interface: Standard
Syntax
R3_ACTIVATE_EXT_COMMAND
COMMAND=...
OPSYSTEM=...
[,PARAMS=...]
,TARGET_SERVER=...
[,STDOUT=...]
[,STDERR=...]
[,TRACE=...]
[,TERM=...]
Parameters
-
R3_ACTIVATE_EXT_COMMAND
Executes an external command -
COMMAND=
Name of the external command
Format: script literal -
OPSYSTEM=
Host system in which the command should be executed
Format: script literal -
PARAMS=
(Optional) Parameter for the external command
Format: script literal
Default value: " " -
TARGET_S[ERVER]=
Name of the computer on which the command should be executed
Format: script literal
Control Flags
-
STDOUT=
(Optional) Adds the external output on to the job log
Format: script literal
Allowed values:-
"" (default)
This control flag is not set. -
X
The external output is added to the job log
-
-
STDERR=
(Optional) Adds external errors to the job log
Format: script literal
Allowed values:-
"" (default)
This control flag is not set. -
X
The external errors are added to the job log
-
-
TRACE=
(Optional) Activates the tracing function
Format: script literal
Allowed values:-
"" (default)
This control flag is not set. -
X
Activates the tracing function
-
-
TERM=
(Optional) The job waits until it is ended externally
Format: script literal
Allowed values:-
"" (default)
This control flag is not set. -
X
The job waits until it is ended externally
-
Example
R3_ACTIVATE_EXT_COMMAND COMMAND='NET_ROUTING',OPSYSTEM='Windows NT',TARGET_SERVER='NB0053',STDOUT='X',STDERR='X',TERM='X'
See also:
seealso