Hitachi

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


ajsqldetach

Organization of this page

Format

ajsqldetach
     [-h logical-host-name]
     [-k]

Description

The ajsqldetach command detaches (disconnects) a logical host from the queueless agent service.

Execution privileges

In Windows: Administrators privileges

In UNIX: Superuser privileges

Storage directory

In Windows:

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

JP1/AJS3 - Agent-installation-folder\bin\

In UNIX:

/opt/jp1ajs2/bin/

Arguments

-h logical-host-name

Specify the name of the logical host you want to detach from the queueless agent service.

If you omit this option, the system assumes the physical host.

If you specify the option without specifying its value, the command terminates abnormally.

-k

If there are queueless jobs running on the logical host you want to detach from the queueless agent service, these jobs are forcibly terminated, and then the logical host is detached. (This is called a forced detach.)

If this option is omitted, the logical host is not detached from the queueless agent service until all queueless jobs running on the logical host terminate. (This is called a planned detach.)

Notes

Return values

0

Normal end

Other than 0

Abnormal end

Example

In this example, the command detaches logical host newhost from the queueless agent service.

ajsqldetach -h newhost