8.1 Checking definitions before live JP1/AJS3 operation
JP1/AJS3 allows you to check whether job definitions are valid before you deploy them, to prevent failures in a production environment.
The following figure shows the sequence of operations involved in a definition pre-check, up to the point when you begin live operation.
Use the ajschkdef command to run a definition pre-check. When you execute the ajschkdef command, the check results are output to the pre-check result file. You can see the results of the pre-check by viewing the file. The pre-check result file is output to the following location by default:
- For Windows Server 2012 or Windows Server 2008, if the installation folder is in the default folder or a folder protected by the system:
-
%ALLUSERSPROFILE%\Hitachi\JP1\JP1_DEFAULT\JP1AJS2\log\ajscheckfile.txt
The default location of %ALLUSERSPROFILE% is system-drive\ProgramData.
A folder protected by the system is the path to a folder in any of the following:
- system-drive\Windows
- system-drive\Program Files
- system-drive\Program Files (x86) (for 64-bit Windows)
- For Windows Server 2012 or Windows Server 2008 in which an installation folder other than the above is used:
-
JP1/AJS3 - Manager-installation-folder\log\ajscheckfile.txt
- In Windows Server 2003:
-
JP1/AJS3 - Manager-installation-folder\log\ajscheckfile.txt
- In UNIX:
-
/var/opt/jp1ajs2/log/ajscheckfile.txt
For details on the ajschkdef command, see ajschkdef in 2. Commands in the manual Job Management Partner 1/Automatic Job Management System 3 Command Reference 1.
Before you run a definition pre-check, you must set up the definition pre-check function. For details on how to set up the function and its environment, see 6.5.1 Setting up the JP1/AJS3 definition pre-check function in the Job Management Partner 1/Automatic Job Management System 3 Configuration Guide 1 (for Windows systems) or 15.5.1 Setting up the JP1/AJS3 definition pre-check function in the Job Management Partner 1/Automatic Job Management System 3 Configuration Guide 1 (for UNIX systems).
- Organization of this section