Hitachi

JP1 Version 12 Job Management: Getting Started (Job Scheduler)


4.3 Defining jobs

Define jobs and a nested jobnet in a jobnet, and then define two jobs in the nested jobnet. Then, specify the execution order of these units.

Prerequisites

Procedure

  1. In the JP1/AJS3 - View window (Main window), in function menu area, select Jobnet Definition.

    [Figure]

  2. In the tree area, select the job group. In the list area, select the jobnet.

  3. Select Edit and then Edit.

    The Jobnet Editor window appears.

  4. Select Exclusive edit.

    Selecting the Exclusive edit check box prevents multiple users from editing the same jobnet concurrently.

    [Figure]

  5. In the icon list, in the Basic tab, drag a job icon to the map area.

    If the OS of the job execution host is Windows, drag the [Figure] (PC job) icon. If the OS of the job execution host is Linux, drag the [Figure] (UNIX job) icon. This step assumes that you drag the PC job icon.

    When the PC job icon is dropped in the map area, the Define Details - [PC Job] dialog box appears.

  6. Define details about the job.

    [Figure]

    The following describes the major setting items:

    No.

    Setting item

    Description

    1

    Unit name

    Specify the name of the job.

    2

    Comment

    Enter any comment.

    3

    Exec-agent

    Specify the name of an execution agent that executes the job.

    If this item is left blank, the job will be executed by the execution agent specified in the detailed definition of the upper-level jobnet.

    4

    File name

    Specify the name of the file to be executed as a job.

    5

    Parameters

    Specify the arguments and parameters for the file specified in File name.

  7. Click the OK button.

    The Define Details - [PC Job] dialog box closes.

    Next, define a nested jobnet.

  8. In the icon list, in the Basic tab, drag the jobnet icon to the map area.

    When the [Figure] (jobnet) icon is dropped in the map area, the Define Details - [Jobnet] dialog box appears.

  9. Define details about the nested jobnet.

    [Figure]

    The following describes the major setting items:

    No.

    Setting item

    Description

    1

    Unit name

    Specify the name of the nested jobnet.

    2

    Comment

    Enter any comment.

    3

    Exec-agent

    Specify the name of an execution agent that executes the nested jobnets.

    If this item is left blank, the nested jobnets will be executed by the execution agent specified in the detailed definition of the upper-level jobnet.

  10. Click the OK button.

    The Define Details - [Jobnet] dialog box closes.

    Next, define two jobs in the nested jobnet.

  11. In the tree area, click + to expand the jobnet node, and then select the nested jobnet.

    [Figure]

    The map area displays the contents of the nested jobnet.

  12. Define jobs.

    Define two jobs in the nested jobnet. The method used to define jobs is the same as for steps 5 to 7.

    Next, define the execution order of the jobs.

  13. Click the [Figure] (Make Relations) button.

  14. Click the icon of the job to be executed first, and then click the icon of the job to be executed next.

    This operation is called association.

    When you associate the icons, an arrow is drawn from the job to be executed first to the job to be executed next.

    Next, define another job in the upper-level jobnet, and then associate the job with the nested jobnet.

  15. In the tree area, select the upper-level jobnet.

    [Figure]

    The icon that is not associated appears in the map area.

  16. Define a job.

    Define another job by dragging the PC job icon to the map area. The method used to define jobs is the same as for steps 5 to 7.

  17. Associate the job with the nested jobnet.

    Click the [Figure] (Make Consecutive Relations) button, and then consecutively click the job, the nested jobnet, and then the other job to associate them.

    Tip

    If you set an incorrect association, you can delete the relation line by clicking the [Figure] (Break Relation) button, and then clicking the relation line you want to delete.

  18. Click a blank area in the map area to terminate the association.

    Clicking the blank area in the map area terminates the association that uses the Make Consecutive Relations button.

  19. Select File and then Close.

    The Jobnet Editor window closes.

Result

The jobs and the nested jobnet are defined in the jobnet.

Postrequisites

Define the operation schedule of a jobnet.

Related topics