Hitachi

JP1 Version 12 JP1/Automatic Job Management System 3 Troubleshooting


C.2 Log entries output by the queueless agent service

The following table lists the types of log entries output to the queueless log files of JP1/AJS3.

Table C‒84: Queueless agent service log entries

Log entry type

Log entry name

Associated message ID

Associated JP1 event

Command name

Operation from JP1/AJS3 - View

API

A101

Queueless agent service started

KAVS1801-I

None

--

--

--

A102

Queueless agent service stopped

KAVS1802-I

None

--

--

--

C901

Command request received

None

None

--

--

--

J101

Queueless job started

KAVS0251-I

None

--

--

--

J102

Queueless job ended normally

KAVS0252-I

None

--

--

--

J103

Queueless job ended abnormally

KAVS0253-E

None

--

--

--

J104

Queueless job ended with warning

KAVS0254-W

None

--

--

--

J106

Submission request accepted

KAVS1984-I

None

--

--

--

Legend:

--: Not applicable.

The log format and the items output are described below for each log entry. For details about the formats for the items common to all logs, see C.1(1) Formats common to all log entries.

A Δ in a log format indicated a one-byte space.

Organization of this subsection

(1) Format of the Queueless Agent Service Started log

The following is the format of the Queueless Agent Service Started log.

A101ΔdateΔtimeΔKAVS1801-IΔhost-name

Example of a log entry:

A101 Dec 15 12:30:59 KAVS1801-I hostA

The following table describes the item that is specific to this format.

Table C‒85: Item specific to the Queueless Agent Service Started log entry (queueless log)

Item

Description

Length (bytes)

host-name

The name of the host on which the queueless agent service started is output.

1 to 255

(2) Format of the Queueless Agent Service Stopped log entry

The following is the format of the Queueless Agent Service Stopped log entry.

A102ΔdateΔtimeΔKAVS1802-IΔhost-name

Example of a log entry:

A102 Dec 15 12:30:06 KAVS1802-I hostA

The following table describes the item that is specific to this format.

Table C‒86: Item specific to the Queueless Agent Service Stopped log entry (queueless log)

Item

Description

Length (bytes)

host-name

The name of the host on which the queueless agent service started is output.

1 to 255

(3) Formats of the Command Request Received log entry

The following are the formats of the Command Request Received log entry.

(a) ajsqlalter

C901ΔdateΔtimeΔajsqlalterΔmaximum-number-of-concurrently-executable-jobsΔmaximum-number-of-waiting-jobsΔuser-mapping-cache-clear-optionΔclass-nameΔlogical-host-name

(b) ajsqlattach

C901ΔdateΔtimeΔajsqlattachΔlogical-host-name

(c) ajsqldetach

C901ΔdateΔtimeΔajsqldetachΔlogical-host-nameΔforced-termination-specification

(d) ajsqlstop

C901ΔdateΔtimeΔajsqlstopΔend-mode

Logging examples:
ajsqlalter

C901 Dec 15 12:07:41 ajsqlalter -1 -1 0

ajsqlattach

C901 Dec 15 18:08:46 ajsqlattach

ajsqldetach

C901 Dec 15 18:08:08 ajsqldetach 0

ajsqlstop

C901 Dec 15 18:06:14 ajsqlstop 0

The following table describes the items that are specific to these formats.

Table C‒87: Items specific to the Command Request Received log entry (queueless log)

Item

Description

Length (bytes)

logical-host-name

The logical host name specified in the -h option is output. If the -h option is not specified in the command, a logical host name is not output.

0 to 255

maximum-number-of-concurrently-executable-jobs

The new maximum number of concurrently executable jobs is output as a decimal number. If no value is specified in the command, -1 is output.

1 to 4

maximum-number-of-waiting-jobs

The new maximum number of waiting jobs is output as a decimal number. If no value is specified in the command, -1 is recorded.

1 to 6

user-mapping-cache-clear-option

0 or 1 is output.

0: Clearing the cache is not specified.

1: Clearing the cache is specified.

1

class-name

The target class name is output. If no class name is specified in the command, a name is not output.

0 to 63

forced-termination-specification

0 or 1 is output.

0: Forced termination is not specified.

1: Forced termination is specified.

1

end-mode

0 or 1 is output.

0: There is a wait for the job to end.

1: There is no wait for the job to end.

1

(4) Format of the Queueless Job Started log entry

The following is the format of the Queueless Job Started log entry.

J101ΔdateΔtimeΔKAVS0251-IΔmanager-host-nameΔscheduler-service-name:job-name:execution-IDΔagent-host-name

Example of a log entry:

J101 Dec 15 17:14:01 KAVS0251-I hostA AJSROOT1:/group/net1/job1:@A100 hostB

The following table describes the items that are specific to this format.

Table C‒88: Items specific to the Queueless Job Started log entry (queueless log)

Item

Description

Length (bytes)

manager-host-name

The name of the manager host that requested execution of the queueless job is output.

1 to 255

job-name

The name of the queueless job that started is output in scheduler-service-name:job-name:execution-ID format.

1 to 969

agent-host-name

The name of the agent host on which the queueless job was executed is output.

1 to 255

(5) Format of the Queueless Job Ended Normally log entry

The following is the format of the Queueless Job Ended Normally log entry.

J102ΔdateΔtimeΔKAVS0252-IΔmanager-host-nameΔscheduler-service-name:job-name:execution-IDΔagent-host-nameΔreturn-value

Example of a log entry:

J102 Dec 15 17:14:01 KAVS0252-I hostA AJSROOT1:/group/net1/job1:@A100 hostB 0

The following table describes the items that are specific to this format.

Table C‒89: Items specific to the Queueless Job Ended Normally log entry (queueless log)

Item

Description

Length (bytes)

manager-host-name

The name of the manager host that requested execution of the queueless job is output.

1 to 255

job-name

The name of the queueless job that ended normally is output in scheduler-service-name:job-name:execution-ID format.

1 to 969

agent-host-name

The name of the agent host on which the queueless job ended normally is output.

1 to 255

return-value

The return value of the queueless job that ended normally is output as a decimal number.

1 to 10

(6) Format of the Queueless Job Ended Abnormally log entry

The following is the format of the Queueless Job Ended Abnormally log entry.

J103ΔdateΔtimeΔKAVS0253-EΔmanager-host-nameΔscheduler-service-name: job-name:execution-IDΔagent-host-nameΔend-statusΔreturn-value

Example of a log entry:

J103 Dec 15 17:14:01 KAVS0253-E hostA AJSROOT1:/group/net1/job1:@A100 hostB a 0

The following table describes the items that are specific to this format.

Table C‒90: Items specific to the Queueless Job Ended Abnormally log entry (queueless log)

Item

Description

Length (bytes)

manager-host-name

The name of the manager host that requested execution of the queueless job is output.

1 to 255

job-name

The name of the queueless job that ended abnormally is output in scheduler-service-name:job-name:execution-ID format.

1 to 969

agent-host-name

The name of the agent host on which the queueless job ended abnormally is output.

1 to 255

end-status

One of the following is output:

a: Ended abnormally

f: Failed to start

c: Killed

?: Unknown end status

1

return-value

The return value of the queueless job that ended abnormally is output as a decimal number.

1 to 10

(7) Format of the Queueless Job Ended with Warning log entry

The following is the format of the Queueless Job Ended with Warning log entry.

J104ΔdateΔtimeΔKAVS0254-WΔmanager-host-nameΔscheduler-service-name: job-name:execution-IDΔagent-host-nameΔreturn-value

Example of a log entry:

J104 Dec 15 17:14:01 KAVS0254-W hostA AJSROOT1:/group/net1/job1:@A100 hostB 0

The following table describes the items that are specific to this format.

Table C‒91: Items specific to the Queueless Job Ended with Warning log entry (queueless log)

Item

Description

Length (bytes)

manager-host-name

The name of the manager host that requested execution of the queueless job is output.

1 to 255

job-name

The name of the queueless job that ended with a warning is output in scheduler-service-name:job-name:execution-ID format.

1 to 969

agent-host-name

The name of the agent host on which the queueless job ended with a warning is output.

1 to 255

return-value

The return value of the queueless job that ended with a warning is output as a decimal number.

1 to 10

(8) Format of the Submission Request Accepted log entry

The following is the format of the Submission Request Accepted log entry.

J106ΔdateΔtimeΔKAVS1984-IΔmanager-host-nameΔscheduler-service-name:job-name:execution-IDΔagent-host-name

Example of a log entry:

J106 Dec 15 12:21:03 KAVS1984-I hostA AJSROOT1:/group/net1/job1:@A100 hostB

The following table describes the items that are specific to this format.

Table C‒92: Items specific to the Submission Request Accepted log entry (queueless log)

Item

Description

Length (bytes)

manager-host-name

The name of the manager host that requested execution of the queueless job is output.

1 to 255

job-name

The name of the queueless job for which a submission request was accepted is output in scheduler-service-name:job-name:execution-ID format.

1 to 969

agent-host-name

The host name specified as the execution agent host name is output.

1 to 255