Job Management Partner 1/Automatic Job Management System 3 Command Reference 2
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|C} Y Y
- Legend:
- Y: Can be set.
- --: Cannot be set.
- #
- The value varies depending on the environment. For details about environment setting parameter, see 2.5 Setting for the JP1/AJS3 definition pre-check function in the Job Management Partner 1/Automatic Job Management System 3 Configuration Guide 2.
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.
It cannot be specified together with the -u option.
-a
Sets up the definition pre-check function (JP1/AJS3 Check Agent service).
This argument 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
- Before you delete a service after specifying the -u option in the Windows environment, make sure that the JP1/AJS3 Check Manager service and the JP1/AJS3 Check Agent service have been stopped.
- When you omit the -m, -a, or -u option for setting types, the following option is assumed:
- For JP1/AJS3 - Manager: -m, -a
- For JP1/AJS3 - Agent: -a
- Before you execute this command on a computer running Windows Server 2008, make sure that you open the Command Prompt window as an administrator. To do this, on the Windows Start menu, right-click Command Prompt, and then choose Run as administrator. If the UAC function is disabled, you do not need to open the Command Prompt window as an administrator.
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
Copyright (C) 2009, 2010, Hitachi, Ltd.
Copyright (C) 2009, 2010, Hitachi Solutions, Ltd.