Hitachi

JP1 Version 12 JP1/Automatic Job Management System 3 System Design (Work Tasks) Guide


2.4.1 Executing a process in a specified file (example of defining a jobnet consisting of standard jobs)

Use standard jobs when defining a jobnet in which processes are performed by file execution.

In the example below, standard jobs are used to define a jobnet in which the total orders are calculated and output to a file by the program juchu.exe, the total purchases are calculated and output to a file by the program shiire.exe, and a daily sales report is prepared and printed, using sales figures calculated from these results, by the program nippou.exe. Host A (Windows) is used for calculating the total orders and preparing the daily sales report. Host B (UNIX) is used for calculating the total purchases.

Figure 2‒65: Example of defining a jobnet that uses standard jobs

[Figure]

The total orders calculation and daily sales report creation jobs are executed on a Windows host. Therefore, use PC jobs for these processes. Use a Unix job for the total purchases calculation since this job is executed on a UNIX host.

For the total orders calculation job, specify hostA in Exec-agent, and juchu.exe in File name.

For the total purchases calculation job, specify hostB in Exec-agent, and shiire.exe in File name.

For the daily sales report creation job, specify hostA in Exec-agent, and nippou.exe in File name.

The total orders calculation and total purchases calculation jobs do not need to run in any particular order, but the sales data must be calculated from the results of these two jobs, giving the job flow shown above.