15.5.1 Setting up the JP1/AJS3 definition pre-check function
As a protection against failures during live operation, JP1/AJS3 can check for problems in the definition of a job before live operation of the job starts. This subsection describes how to set up this function.
- Organization of this subsection
(1) Procedure for setting up the function
To set up the JP1/AJS3 definition pre-check function:
-
Execute the following command:
For JP1/AJS3 - Manager:
#/opt/jp1ajs2/bin/ajschksetup -m -a
For JP1/AJS3 - Agent:
#/opt/jp1ajs2/bin/ajschksetup -a
For details about the ajschksetup command, see ajschksetup in 2. Commands Used during Setup in the manual JP1/Automatic Job Management System 3 Command Reference.
-
Start the JP1/AJS3 Check Manager service and the JP1/AJS3 Check Agent service.
The following shows the commands to be executed.
For JP1/AJS3 - Manager:
#/opt/jp1ajs2/bin/ajschkstart -m -a
For JP1/AJS3 - Agent:
#/opt/jp1ajs2/bin/ajschkstart -a
For details about the ajschkstart command, see ajschkstart (UNIX only) in 3. Commands Used for Normal Operations in the manual JP1/Automatic Job Management System 3 Command Reference.
(2) Procedure for changing the function settings
To change the settings of the JP1/AJS3 definition pre-check function:
-
Stop the JP1/AJS3 Check Manager service and the JP1/AJS3 Check Agent service.
The following shows the commands to be executed.
For JP1/AJS3 - Manager:
#/opt/jp1ajs2/bin/ajschkstop -m -a
For JP1/AJS3 - Agent:
#/opt/jp1ajs2/bin/ajschkstop -a
For details about the ajschkstop command, see ajschkstop (UNIX only) in 3. Commands Used for Normal Operations in the manual JP1/Automatic Job Management System 3 Command Reference.
-
Execute the following command to set the environment setting parameters described in (3) below:
jajs_config -k "definition-key" "parameter-name-1"=value-1 ["parameter-name-2"=value-2] ["parameter-name-3"=value-3] ["parameter-name-4"=value-4] ["parameter-name-5"=value-5]
-
Start the services that you stopped in step 1.
The following shows the commands to be executed.
For JP1/AJS3 - Manager:
#/opt/jp1ajs2/bin/ajschkstart -m -a
For JP1/AJS3 - Agent:
#/opt/jp1ajs2/bin/ajschkstart -a
The new settings are applied.
(3) Environment setting parameters
No. |
Definition key |
Environment setting parameter |
Explanation |
---|---|---|---|
1 |
[JP1_DEFAULT\JP1AJS2\CHECK] |
"AJSCHK_CHECKFILE"#= |
Specifies the name of the file where the definition pre-check results will be stored. |
2 |
"AJSCHK_LOGDIR"= |
Specifies the name of the definition check log directory. |
|
3 |
"AJSCHK_LOGSIZE"= |
Specifies the size of the definition check log files. |
|
4 |
"AJSCHK_TRACELOGFILE"= |
Specifies the name of the trace log file for the definition pre-check function. |
|
5 |
"AJSCHK_CHARCODE"= |
Specifies the character encoding used to display job information and the definition pre-check results. |
For details about the definition of these environment setting parameters, see the following: