OpenTP1 Version 7 Operation
dcjcmdex (Execute an OpenTP1 command from a scenario template)
Format
dcjcmdex OpenTP1-command-name [command-argument-name[command-argument-name]...] |
Function
The dcjcmdex command executes a specified OpenTP1 command from a scenario template defined by using JP1/AJS2 - Scenario Operation. First, however, add $DCDIR/bin in the PATH environment variable (the environment variable is valid only for the command that is executed).
When the executed OpenTP1 command ends normally, the dcjcmdex command returns 0. If the command ends abnormally, the dcjcmdex command returns 8.
Command arguments
OpenTP1-command-name
Specifies the name of the OpenTP1 command to be executed from the scenario template defined by using JP1/AJS2 - Scenario Operation.
command-argument-name
Specifies an option or a command argument of the specified OpenTP1 command.
Output messages
Message ID | Description | Output destination |
---|---|---|
KFCA01815-E | An error occurred in the OS. | Standard error output |
KFCA01860-E | The input format of the dcjcmdex command is incorrect. | Standard error output |
KFCA01886-E | Processing of the OpenTP1 command failed. | Standard error output |
Notes
Do not specify the dcsetup command as the OpenTP1 command name. If you do, the dcjcmdex command may not operate normally.
Examples
(1) Using the dcsvstart command to start a user server named basespp
dcjcmdex dcsvstart -u basespp |
(2) Using the dcjchconf command to specify hostA and hostB for all_node in the system definition file when a parameter contains double quotation marks (")
dcjcmdex dcjchconf DCALL_NODE '"hostA","hostB"' |
To include a double quotation mark (") in the value of the operand to be specified, enclose the value between single quotation marks (').
If your OS is Windows and you want to include a double quotation mark (") in the value of the operand to be specified, write \" instead of the double quotation mark (").
All Rights Reserved. Copyright (C) 2006, 2010, Hitachi, Ltd.