C.1 Functions for verifying the legitimacy of JP1/AJS3 operations
The following describes the functions you can use for verifying the legitimacy of JP1/AJS3 operations.
- Organization of this subsection
(1) Outputting extended information to scheduler log files
In the environment settings, you can specify parameters for extended output to scheduler log files. You can then use the information to verify that JP1/AJS3 operations are legitimate.
The following table describes the additional information that you can output, and the required parameter setting for each extended function.
Extended function |
Parameter to set |
---|---|
Output connection start/end messages from JP1/AJS3 - View. |
|
Output user authentication messages. |
|
Output the following additional information to the unit execution log and operation log:#2
|
Set yes in the environment setting parameter AJSLOGOUTPUTEXTEND. |
Output the date in year/month/day format to a scheduler log (the default format is month/day). |
Set yes in the environment setting parameter AJSLOGOUTPUTYEAR. |
Output start/end messages about the scheduler log output process. |
|
Output the start/end messages about the scheduler log output processes for each host. |
|
Output an execution log of commands executed while the scheduler service was stopped. |
Set host in the environment setting parameter AJSLOGOUTPUTDEST. |
- #1
-
Output to the scheduler log for each host.
- #2
-
When this function is enabled and a value other than none is set in the environment setting parameter REFLOG, a message about the reference operation that was executed when a unit ended abnormally is output .
- #3
-
The requesting host's IP address and ID information are not output to the log if the operation was performed from the local computer or from JP1/AJS3 Console.
For details about performing these settings, see 4.2 Environment setting parameter settings in the Job Management Partner 1/Automatic Job Management System 3 Configuration Guide 1 (for Windows systems) or 14.2 Environment setting parameter settings in the Job Management Partner 1/Automatic Job Management System 3 Configuration Guide 1 (for UNIX systems).
For details about the environment setting parameters, see 2.2 Setting up the scheduler service environment in the Job Management Partner 1/Automatic Job Management System 3 Configuration Guide 2.
For details about the contents of scheduler log files, see C.1 Log entries output by the scheduler services in the manual Job Management Partner 1/Automatic Job Management System 3 Troubleshooting.
(2) Outputting the last update time of unit definitions
You can output the last update time of unit definitions in either of two ways:
-
Using the ajsprint command
By executing the ajsprint command with the -f option specified, you can acquire the last update time of all the lower-level units of the specified unit.
For the command syntax, see ajsprint in 2. Commands in the manual Job Management Partner 1/Automatic Job Management System 3 Command Reference 1.
-
Import unit definitions in JP1/AJS3 - Definition Assistant
When you import unit definition information using JP1/AJS3 - Definition Assistant, the last update time of each unit is output to the log.
You can edit the output last update times, but not when exporting the imported unit definition information.
For details about how to import unit definitions in JP1/AJS3 - Definition Assistant, see the manual Job Management Partner 1/Automatic Job Management System 3 - Definition Assistant.
You can also hide the last update-time field in the imported unit definition information. This field is displayed by default. To hide the last update times:
-
Open the following file in an editor:
JP1/AJS3-Definition-Assistant-installation-folder\conf\ajs2da.conf
-
Set N in the parameter TYPE-LASTUPDATE=.
-
Save the settings.
-
(3) Extracting log information for verifying JP1/AJS3 operations
Using the ajslogprint command, you can extract information needed for verifying JP1/AJS3 operations from the scheduler log and output the information to a file.
For the command syntax, see ajslogprint in 2. Commands in the manual Job Management Partner 1/Automatic Job Management System 3 Command Reference 1.
(4) Checking the job information about QUEUE jobs and submit jobs
You can use the jpqendjobshow command to output the job information about QUEUE jobs and submit jobs to the standard output.
For the command syntax, see jpqendjobshow in 3. Commands Used for Special Operation in the manual Job Management Partner 1/Automatic Job Management System 3 Command Reference 2.