Hitachi

JP1 Version 12 JP1/Automatic Job Management System 3 Configuration Guide


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:

  1. 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.

  2. 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:

  1. 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.

  2. 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]
  3. 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

Table 15‒68: Environment setting parameters used to specify the settings of the JP1/AJS3 definition pre-check function

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.

#:

This parameter can be set only in JP1/AJS3 - Manager.

For details about the definition of these environment setting parameters, see the following:

  1. 20.7.2(1) AJSCHK_CHECKFILE

  2. 20.7.2(2) AJSCHK_LOGDIR

  3. 20.7.2(3) AJSCHK_LOGSIZE

  4. 20.7.2(4) AJSCHK_TRACELOGFILE

  5. 20.7.2(5) AJSCHK_CHARCODE