Hitachi

JP1 Version 12 JP1/Automatic Operation Command and API Reference 


1.7.3 hcmds64dbsrv (starting and stopping the databases)

Description

This command starts and stops the databases of JP1/AO. You use this command when maintaining the databases.

Syntax

hcmds64dbsrv
     {/start | /stop}

Arguments

/start

This option causes the command to start the databases.

/stop

This option causes the command to stop the databases.

Located in

In Windows:

Common-Component-installation-folder\bin

In Linux:

/opt/HiCommand/Base64/bin

Execute permission

Execute the command as a user with Administrator or root permissions.

Remarks

This command is restricted for database maintenance procedures.

Return code

The following table lists the return codes from the command.

Return code

Description

0

The system accepted the start or stop request.

254

The databases are not initialized.

255

The command execution failed.

Example

The following examples show how to use the command for each case.