4.5.6 Temporarily changing the hold attribute of a job or jobnet
You can temporarily suspend a registered jobnet or job, or temporarily release a suspended jobnet or job. However, if the job or jobnet is already running, you cannot place it in held status.
If you temporarily release a jobnet or job that has a hold attribute, the hold attribute is set again when the jobnet or job terminates.
If a jobnet completes before execution of a jobnet or job that has been temporarily suspended or released, the hold attribute is inherited, and takes effect when the next generation is executed.
A jobnet or job whose hold attribute has been temporarily changed might terminate without starting if the preceding unit ends abnormally. In this case, if you attempt to re-execute the jobnet or job, the jobnet or job is re-executed with the changes applied.
To this operation, you can use JP1/AJS3 - View, the Web GUI, the API function to temporarily change the hold attribute, or the ajsplan command. For details, see the relevant sections in the following manuals:
-
9.6 Holding the execution of jobnets and jobs in the JP1/Automatic Job Management System 3 Operator's GuideA.5 Dashboard screen in the JP1/Automatic Job Management System 3 Operator's Guide
-
A.7 Monthly Schedule screen in the JP1/Automatic Job Management System 3 Operator's Guide
-
A.10 Monitor dialog box in the JP1/Automatic Job Management System 3 Operator's Guide
-
7.1.8 Change hold attribute API in the manual JP1/Automatic Job Management System 3 Command Reference
-
ajsplan in 3. Commands Used for Normal Operations in the manual JP1/Automatic Job Management System 3 Command Reference.
- Supplementary note
-
For a root jobnet, the hold setting can be applied in all circumstances, or only if the preceding unit ends abnormally or ends with a warning. In the latter case, the held status can be temporarily released, or it can be released when the termination status of the preceding unit changes to normal termination. The system performs the release operation when recalculating the schedule after you change the schedule definition or calendar information. If you want to retain the root jobnet's held status after the termination status of the preceding unit changes, perform the hold setting again.