Hitachi

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


ajsqlstatus

Organization of this page

Format

ajsqlstatus
     [-h logical-host-name]

Description

Outputs detailed information about the queueless agent service.

Execution privileges

None

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 to which detailed information needs to be output.

If you omit this option, the physical host is assumed.

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

Return values

0

Ends normally

Other than 0

Ends abnormally

Example

The detailed information about the queueless agent service is output to the standard output.

ajsqlstatus

Output example

[Figure]

Explanation of the displayed items

The details about each displayed item are explained here. The parentheses for individual display items refer to the output format applicable when C is used for the value of the LANG environment variable for OS users executing the command in UNIX.

When JP1/AJS3 - Agent is installed on a host, the queueless file transfer service is not installed and item 2 is not displayed.

Item 13 is displayed only when the host is running on Windows.

Items 15 to 17 are displayed for each class defined in the target host. For output, a line-feed character is inserted at the beginning of each line.

(1) Queueless agent service

Indicates the startup status of the queueless agent service.

active: Operation of the queueless agent service has started.

inactive: Operation of the queueless agent service has stopped.

restricted processing...: Because the queueless agent service is being stopped, the service cannot accept execution requests for jobs or commands. When the currently executed job ends, the queueless agent service stops.

forcibly stopping...: Because the queueless agent service is being stopped, the service cannot accept execution requests for jobs or commands. The queueless agent service stops without waiting for the end of the job being executed. However, if file transfer is being performed, the queueless agent service waits until the file transfer is completed.

(2) Queueless file transfer service

Indicates the startup status of the queueless file transfer service.

active: Operation of the queueless file transfer service has started.

inactive: Operation of the queueless file transfer service has stopped.

restricted processing...: Because the queueless file transfer service is being stopped, the service cannot accept execution requests for commands. When the file transfer processing ends, the queueless file transfer service stops.

If the queueless file transfer service is not set up, inactive is displayed.

(3) Host name

Indicates the target host name.

(4) Queueless job

Indicates whether Queueless jobs can be executed on the target host.

can execute: Queueless jobs can be executed on the target host.

cannot execute: Queueless jobs cannot be executed on the target host.

detach processing...: Queueless jobs cannot be executed, because the target host is being detached.

(5) Execution request to logical host

Indicates the processing to be performed when a logical host that is not specified to process Queueless jobs is requested to execute such jobs.

executes in physical host: The job is executed on the physical host.

does not execute: The job is not executed.

(6) Attach when service starts

Indicates whether the target host is attached when the queueless agent service is started.

attach: The target host is attached when the queueless agent service is started.

do not attach: The target host is not attached when the queueless agent service is started.

(7) Log file installation directory name

Indicates the name of the log file storage directory for the queueless agent service.

(8) Log file size

Indicates the size of the log file for the queueless agent service (unit: kilobytes).

(9) Status file name

Indicates the name of the status file for the queueless agent service.

(10) Status file size

Indicates the size of the status file for the queueless agent service (unit: kilobytes).

(11) Trace log file name

Indicates the name of the queueless trace log file.

(12) Character code

Indicates the character set specified for the queueless agent service.

C: The ASCII character set is specified for the queueless agent service.

SJIS: SJIS character set is specified for the queueless agent service.

EUC: EUC character set is specified for the queueless agent service.

UTF-8: UTF-8 character set is specified for the queueless agent service.

(13) Using user profile

Indicates whether user profiles are used.

use: User profiles are used.

do not use: User profiles are not used.

(14) Directory name for temporary files

Indicates the name of the directory for temporary files used by the queueless agent service.

(15) Class name

Indicates the class name defined for the target host.

For the entire queueless agent service (default class), Default is displayed as the class name.

(16) Maximum number of executing jobs

Indicates the maximum number of jobs that can be executed simultaneously for each class on the target host.

(17) Maximum number of waiting jobs

Indicates the maximum number of jobs that can wait for each class on the target host.