Hitachi

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


4.2.2 Procedure for setting the environment setting parameters by using the jbssetcnf command

To use the jbssetcnf command to replace the settings in the common definition information with new settings specified in a configuration file:

  1. Stop the JP1/AJS3 service.

    In Windows Control Panel, open the Services administrative tool, and stop the following service:

    • JP1/AJS3 service

  2. Create a configuration file that contains the new settings.

    Use a text editor such as Notepad to create a setting file that contains the additional or new environment setting parameter settings.

    Assign any name to the configuration file.

    The following shows an example of specifying settings in the configuration file.

    In this example, the environment setting parameter settings shown in the following table will be used.

    Definition key

    Parameter

    Value

    [JP1_DEFAULT\JP1AJSMANAGER\AJSROOT1]

    "LOGSIZE"=

    00002800 (hexadecimal)

    "AJSLOG"=

    "all"

    [JP1_DEFAULT\JP1AJSMANAGER\AJSROOT2]

    "LOGSIZE"=

    00005000 (hexadecimal)

    "AJSLOG"=

    "all"

    To specify the above settings, create a configuration file as follows:

    [JP1_DEFAULT\JP1AJSMANAGER\AJSROOT1]
    "LOGSIZE"=dword:00002800
    "AJSLOG"="all"
    [JP1_DEFAULT\JP1AJSMANAGER\AJSROOT2]
    "LOGSIZE"=dword:00005000
    "AJSLOG"="all"
  3. Save the configuration file.

  4. Change the common definition information.

    Execute the following command, which will change the common definition information based on the specified configuration file:

    jbssetcnf configuration-file

    The jbssetcnf command is located in the JP1/Base-installation-folder\bin\ folder.

  5. Restart JP1/AJS3.

    The changes in the common definition information are applied to JP1/AJS3.