HCSC-Manager command definition file

Format

This definition file uses the J2SE property file format.

csc.all.command-argument-name=Value
csc.command-identifier.command-argument-name=Value

Function

Sets up default values for the options of each command. After the configuration file is changed, the updated information is applied when the command is issued the next time. If the option value is specified in both, the definition file and the command, the value specified in the command will be valid.

This definition file contains information, such as the user ID and the password, so set up the file permissions appropriately.

File storage location

Service-platform-installation-directory\CSC\config\manager\csccmd.properties

Specifiable parameters

csc.all.command-argument-name=Value

Specifies default values for the arguments common to all the commands. Specify the value for the command argument name by removing the hyphen (-). If no value exists, you need not specify the value.

(Example of specification 1)
If you assume the value admin for the -user option of all the commands:

csc.all.user=admin

(Example of specification 2)
If you assume that the -all option is specified for all the commands:

csc.all.all=

csc.command-identifier.command-argument-name=Value

Defines default arguments for the command corresponding to the command identifier. For the command identifier, specify the value by removing csc from the command name. For the command argument name, specify the value by removing the hyphen (-). If no value exists, you need not specify the value.

(Example of specification 1)
If you assume the value HCSC for the -csc option of the cscpiselect commands:

csc.piselect.csc=HCSC

(Example of specification 2)
If you assume that the -system option is specified for the cscsvstart commands:

csc.svstart.system=

Notes

As described in the following example, in the case of a discrepancy in the specified contents of the HCSC-Manager command definition file and the specification of command arguments, the command arguments become invalid.

Contents of the HCSC-Manager command definition file

csc.all.user=AAA
csc.all.pass=BBB
csc.repctl.autoexport=

Example of command input

> cscrepctl -import repository.zip

In this example, both the options -import and -autoexport are specified for the cscrepctl command. Therefore, this will result in an error due to an invalid command argument.