Hitachi

JP1 Version 11 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. If you specify no option, the system assumes -j.

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

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