Hitachi

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


ajschksetup

Organization of this page

Format

For JP1/AJS3 - Manager:
ajschksetup
     [{[-m][-a]|[-u]}]
For JP1/AJS3 - Agent:
ajschksetup
     [{[-a]|[-u]}]

Description

Sets the environment for running the definition pre-check function. The following is the information to be set by this command.

Registering services

The following services are registered for running the definition pre-check function:

Service name to be registered

JP1/AJS3 - Manager

JP1/AJS3 - Agent

JP1/AJS3 Check Manager service

Y

--

JP1/AJS3 Check Agent service

Y

Y

Setting the communication port

The following communication ports are registered in the services file for running the definition pre-check function:

Communication port (service name: port number)

JP1/AJS3 - Manager

JP1/AJS3 - Agent

Executing the definition pre-check function (JP1/AJS3 Check Manager: 23138)

Y

--

Executing the definition pre-check function (JP1/AJS3 Check Agent: 23139)

Y

Y

Setting the common definition information

The common definition information are set for running the definition pre-check function:

Setting information

JP1/AJS3 - Manager

JP1/AJS3 - Agent

Definition key

Environment setting parameter

[JP1_DEFAULT\JP1AJS2\CHECK]

"AJSCHK_CHECKFILE"=#

Y

--

"AJSCHK_LOGDIR"=#

Y

Y

"AJSCHK_LOGSIZE"=dword:00001000

Y

Y

"AJSCHK_TRACELOGFILE"=#

Y

Y

"AJSCHK_CHARCODE"="none"

Y

Y

Legend:

Y: Can be set.

--: Cannot be set.

#

The value varies depending on the environment. For details about environment setting parameter, see 20.7 Setting for the JP1/AJS3 definition pre-check function in the JP1/Automatic Job Management System 3 Configuration Guide.

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

-m

Sets up the definition pre-check function (JP1/AJS3 Check Manager service).

This argument can be set only with JP1/AJS3 - Manager. It cannot be specified with JP1/AJS3 - Agent.

This option cannot be specified together with the -u option.

-a

Sets up the definition pre-check function (JP1/AJS3 Check Agent service).

This option cannot be specified with the -u option simultaneously.

-u

Deletes the settings for the definition pre-check function.

In Windows, this argument deletes the JP1/AJS3 Check Manager service and the JP1/AJS3 Check Agent service from the service list in the Administrative Tools.

This option cannot be specified together with the -m or -a option.

Notes

Return values

0

Normal end

A value other than 0

Abnormal end

Example

With JP1/AJS3 - Manager, set up the JP1/AJS3 Check Manager service and the JP1/AJS3 Check Agent service.

ajschksetup -m -a