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

[Contents][Glossary][Index][Back][Next]


ajsembdbcancel

Format

ajsembdbcancel
      -u UAP-ID
      -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 UAP-ID

Specify the name of the program that is run by the command that manipulates the embedded database (a command that begins with ajsembdb).

Note that the program name you specify in this option is an item indicated as PROGRAM in the information output by the ajsembdbstatus command with the -s prc option specified.

The following table lists the name of the program for each command:

Command name Program name#
ajsembdbbuild, ajsembdbstart 0minitx
ajsembdbaddarea pdmod
ajsembdbrorg 0mrorgx
ajsembdbreclaim 0mrorgx
ajsembdbstatus 0mdbst
ajsembdbbackup 0bcpyx
ajsembdbrstr 0brstr

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

-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.

[Contents][Back][Next]


[Trademarks]

Copyright (C) 2009, 2010, Hitachi, Ltd.
Copyright (C) 2009, 2010, Hitachi Solutions, Ltd.