Hitachi

Job Management Partner 1 Version 10 Job Management Partner 1/Automatic Job Management System 3 Command Reference 1


ajsembdbcancel

Organization of this page

Format

ajsembdbcancel
      -u Server-name or program-name
      -p process-ID
      [-id embedded-database-setup-ID]

Description

Cancels the processing of an embedded-database command that is being executed.

Cancellation of the command results in an error. For details about the error that might occur, check the error message or the log for the command.

You can execute this command only when the embedded database is running. You can execute the command regardless of the operating status of JP1/AJS3.

Execution privileges

In Windows: Administrators privileges

In UNIX: Superuser privileges

Storage directory

In Windows:

JP1/AJS3 - Manager-installation-folder\tools\

In UNIX:

/opt/jp1ajs2/tools/

Arguments

-u Server-name or program-name

Specifies the name of the server or the name of the program related to execution of the embedded database operation commands.

The name of the program (PROGRAM) or the server name (SVID) related to the embedded database operation commands is output by executing the ajsembdbstatus command with the -s prc option specified during excecution of an embedded database operation command.

The PROGRAM or SVID is output only when a corresponding embedded database operation command is being executed.

The following table lists the PROGRAM and SVID values for each command.

Command name

SVID#

PROGRAM

ajsembdbbuild, ajsembdbstart

0minitx

--

ajsembdbaddarea

--

pdmod

ajsembdbrorg

0mrorgx

--

ajsembdbreclaim

0mrorgx

--

ajsembdbstatus

0mdbstx

--

ajsembdbbackup

0bcpyx

--

ajsembdbrstr

0brstrx

--

# The x at the end of a program name is a number such as 0, 1, and 2.

The processing of embedded database operation commands other than those listed above cannot be canceled by this command.

-p process-ID

Specify the process ID of the information output by the ajsembdbstatus command with the -s prc option specified.

-id embedded-database-setup-ID

Specify the setup identifier that identifies the embedded database in the _JFn format (n: 0-9 or A-Z). The value specified in this argument must be the same as the value specified in the -id option of the ajsembdbbuild command.

If you want to operate an embedded database created by using the jajs_setup, jajs_setup_cluster, and jajs_migrate commands, use the ajsembdbidlist command to check the setup identifier of the embedded database. For details on the ajsembdbidlist command, see ajsembdbidlist in 2. Commands Used during Setup in the manual Job Management Partner 1/Automatic Job Management System 3 Command Reference 2.

If you omit this option, the system assumes _JF0.

Notes

Return values

0

Normal end

Values other than 0

Abnormal end

Actions to be taken if an error occurs

If a command error occurs, take the indicated action in the following table.

Message

Cause

Action to be taken

KAVS0996-E

The specified option contains an error.

Check the specification of the option.

KAVS2101-E

The embedded database is inactive.

Start the embedded database and then re-execute the command.

KAVS2102-E

The embedded database is being started or stopped.

Confirm that the embedded database is running, and then re-execute the command. You can confirm whether the embedded database is running by executing the ajsembdbstatus command with the -s ust option specified.

KAVS2104-E

The embedded database is not set up.

Set up the embedded database and then re-execute the command.

KAVS2116-E

The specified option contains an error.

Check the option output in the message and then re-execute the command.

KAVS2117-E

An error occurred during execution of the command.

Check the message output in the maintenance information.