Hitachi

JP1 Version 11 JP1/Automatic Job Management System 3 Command Reference


ajsembdbunset

Organization of this page

Format

ajsembdbunset
      {-r[-e]|-e[-r]}
      [-id embedded-database-setup-identifier]
      [-i embedded-database-practical-directory-name]

Format 1 (for canceling the setup of the embedded database (UNIX only))

ajsembdbunset
      -r
      [-id embedded-database-setup-identifier]
      [-i embedded-database-practical-directory-name]

Format 2 (for deleting the embedded database environment)

ajsembdbunset
      -e 
      [-id embedded-database-setup-identifier]
      [-i embedded-database-practical-directory-name]

Description

Cancels the setup of the embedded database.

You can execute this command regardless of the operating status of the embedded database. You can execute the command only when all the scheduler services for which the target embedded database has been created as the scheduler database are inactive.

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

-r

You do not need to specify this option. If you specify it, processing ends without removing the embedded database setup.

-e

Specify this option to delete the embedded database environment.

The data in the embedded database will be deleted. If you want to keep the data, save it somewhere else beforehand.

In UNIX, if the -e option is specified, the -r option is also implicitly specified. That is, the registration of the embedded database running in the specified directory is canceled in the operating system.

-id embedded-database-setup-identifier

Use four characters, _JNn (N: the character specified during setup of the embedded database environment, n: 0 to 9 or A to Z), to specify the setup identifier of the embedded database.

If you omit this option, the system assumes _JF0.

To check the registered setup identifiers and embedded database practical directories, execute the ajsembdbidlist command.

For details on the ajsembdbidlist command, see ajsembdbidlist in 2. Commands Used during Setup.

-i embedded-database-practical-directory-name

Specify the name of the embedded database practical directory.

You must specify this option only when cancellation of the setup specified by using the -id option fails for example, when the ajsembdbbuild command does not end normally.

Notes

Return values

0

Ends normally

Values other than 0

Ends abnormally

Actions to be taken if an error occurs

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

Message ID

Phenomenon

Action taken

KAVS0996-E

The specified option is incorrect.

Check the specification of the option.

KAVS2104-E

The embedded database is not set up.

The environment of the embedded database has already been deleted.

KAVS2115-E

The embedded database is not installed. Alternatively, access permission for the path specified in the -i option does not exist.

The embedded database to be deleted is not installed. Review the specified path, and then re-execute the command. If the AJS administrator is executing the command, make sure that the AJS administrator has execution privileges.

KAVS2116-E

The specified option is incorrect.

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

KAVS2117-E

An error occurred when you executed the command.

Check the message output in the maintenance information.