Hitachi

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


ajsqlstop

Organization of this page

Format

ajsqlstop
     [-j|-c]

Description

Stops 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

-j

The queueless agent service is stopped after all queueless jobs that are currently running terminate.

You cannot specify this option with the -c option.

-c

The queueless agent service is stopped immediately even when there are running queueless jobs.

You cannot specify this option with the -j option.

Notes

  1. Before executing this command, you must start the queueless agent service and set up a queueless job execution environment. If the queueless job execution environment has not yet been set up, execute the ajsqlsetup command to set up the queueless job execution environment. If you execute this command in a cluster environment, set up the queueless job execution environment for the relevant logical host.

    For details on the ajsqlsetup command, see ajsqlsetup in 4. Commands Used for Special Operation.

  2. If you specify no option, the system assumes -j.

  3. This command terminates when a stop request is sent to the queueless agent service. Therefore, you cannot use this command to check whether the queueless agent service has stopped. To perform this check, use the ajsqlstatus command. For details on the ajsqlstatus command, see ajsqlstatus in 4. Commands Used for Special Operation.

  4. If you stop the queueless agent service by executing the command with the -c option specified, the status of queueless jobs running when the command is executed might change to Failed to start or Ended abnormally. If there are queueless jobs in Failed to start or Ended abnormally status after the command is executed, restart the queueless agent service to start the jobs, if necessary.

Return values

0

Normal end

Other than 0

Abnormal end