Job Management Partner 1/Automatic Job Management System 3 Configuration Guide 1
This section describes how to change common definition information that has already been registered.
You can use the following methods to change the common definition information that has already been registered:
- jajs_config command
If you use the jajs_config command, you can eliminate specification errors because the specified environment setting parameter names and values are checked. For details about the jajs_config command, see jajs_config in 2. Commands Used during Setup in the manual Job Management Partner 1/Automatic Job Management System 3 Command Reference 2.
- jbssetcnf command
If you use the jbssetcnf command provided by JP1/Base, the new environment setting parameter settings specified in a configuration file will replace the corresponding current settings. For details about the jbssetcnf command, see the Job Management Partner 1/Base User's Guide.
Note that the parameter names and values provided by the jbssetcnf command are not checked. If you specify any settings that are incorrect, you might want to restore the previous settings. For details about how to restore the previous settings when incorrect settings have been registered, see E. Recovery Procedure Used When An Incorrect Environment Settings Parameter Is Set.
For details about the environment setting parameter settings necessary for registration in the common definition information, see 2. Environment Setting Parameters in the Job Management Partner 1/Automatic Job Management System 3 Configuration Guide 2.
The following describes how to use each method.
- Organization of this section
- (1) Using the jajs_config command
- (2) Using the jbssetcnf command
(1) Using the jajs_config command
To use the jajs_config command to change the settings in the common definition information:
- Stop the JP1/AJS3 service.
Execute the following commands to confirm that all processes have stopped:
# /etc/opt/jp1ajs2/jajs_stop#1 # /opt/jp1ajs2/bin/jajs_spmd_status
- #1:
- Confirm that automatic termination has been set.
- Change the settings in the common definition information.
Use the following command to specify new environment setting parameter settings in the common definition information:
jajs_config-k
definition-key
"parameter-name-1"=value-1
["parameter-name-2"=value-2] ...
- Legend:
: One-byte space
Example:
jajs_config -k [JP1_DEFAULT\JP1AJSMANAGER\AJSROOT1] "LOGSIZE"=dword:00002800 "AJSLOG"="all"- Restart JP1/AJS3.
The changes in the common definition information are applied to JP1/AJS3.
(2) 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:
- Stop the JP1/AJS3 service.
Execute the following commands to confirm that all processes have stopped:
# /etc/opt/jp1ajs2/jajs_stop#1 # /opt/jp1ajs2/bin/jajs_spmd_status
- #1:
- Confirm that automatic termination has been set.
- Create a configuration file that contains the new settings.
Use a text editor such as vi to create a configuration 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" To specify the above settings, create a configuration file as follows:
[JP1_DEFAULT\JP1AJSMANAGER\AJSROOT1] "LOGSIZE"=dword:00002800 "AJSLOG"="all"- Save the configuration file.
- Change the common definition information.
Execute the following command, which will change the common definition information based on the specified configuration file:
The jbssetcnf command is located in the /opt/jp1base/bin/jbssetcnf directory.
jbssetcnf configuration-file
- Restart JP1/AJS3.
The changes in the common definition information are applied to JP1/AJS3.
Copyright (C) 2009, 2010, Hitachi, Ltd.
Copyright (C) 2009, 2010, Hitachi Solutions, Ltd.