Hitachi

Job Management Partner 1 Version 10 Job Management Partner 1/Automatic Job Management System 3 Administration Guide


4.4.1 Overview of backing up and recovering the execution registration status

This subsection provides an overview of backing up and recovering the execution registration status of jobnets using the functions for exporting and importing registered execution-schedule information for jobnets.

Figure 4‒2: Backing up and recovering the execution registration status by using the functions for exporting and importing the registered execution-schedule information for jobnets

[Figure]

Unlike the ajsprint and ajsdefine commands used for the backup and recovery of unit definition information, the ajsrgexport and ajsrgimport commands back up and recover the execution registration status of jobnets by exporting and then importing that information.

If an error occurs in the JP1/AJS3 system, these functions greatly shorten the time required until operation is resumed.

Organization of this subsection

(1) Exporting the registered execution-schedule information for jobnets (ajsrgexport command)

The ajsrgexport command exports the execution registration status of jobnets (including the macro variables and time zones specified when the jobnets were registered for execution) to a text file. The information that includes the execution registration status of jobnets and the conditions specified when the jobnets were registered is called the registered execution-schedule information for jobnets. A file to which the registered execution-schedule information for jobnets is exported is called a file of registered execution-schedule information for jobnets. For details about the ajsrgexport command, see ajsrgexport in 2. Commands in the manual Job Management Partner 1/Automatic Job Management System 3 Command Reference 1. For details about the file of registered execution-schedule information for jobnets, see 4.6 File of registered execution-schedule information for jobnets in the manual Job Management Partner 1/Automatic Job Management System 3 Command Reference 2.

When exporting information, you can specify the root jobnets listed below that have been registered for execution with planned execution or fixed execution selected. If you specify a jobnet registered for execution with immediate execution selected, the registered execution-schedule information for jobnets will not be registered.

For a jobnet registered for planned execution, the nearest execution schedule is exported. For a jobnet registered for fixed execution, the nearest execution schedule and subsequent schedules are exported. In either case, execution results or dummy schedules are not exported. For details about the dummy schedule, see 4.4.2(1) Schedule simulation in the manual Job Management Partner 1/Automatic Job Management System 3 Overview.

Figure 4‒3: Execution schedules to be exported

[Figure]

For a jobnet registered for fixed execution, changes in the schedule made by temporarily changing the plan are also exported. Note, however, that these changes cannot be canceled at the importing location. For a jobnet registered for planned execution, changes in the schedule made by temporarily changing the plan are not exported. Therefore, you need to change the schedule again after the import.

(2) Importing the registered execution-schedule information for jobnets (ajsrgimport command)

The ajsrgimport command imports a file of registered execution-schedule information for jobnets (that was exported by the ajsrgexport command), and sets the same registration execution status set for the exported jobnets. For details about the ajsrgimport command, see ajsrgimport in 2. Commands in the manual Job Management Partner 1/Automatic Job Management System 3 Command Reference 1.

For a jobnet registered for planned execution, the schedules are recalculated after the import based on the jobnet schedule rule. For a jobnet registered for fixed execution, the execution schedules after the date that the ajsrgimport command was executed are exported based on the contents of the file of registered execution-schedule information for jobnets.

Figure 4‒4: Execution schedules to be imported

[Figure]

The unit configuration in the root job group to be imported must be the same at the exporting and importing locations.

Import cannot be performed in the following cases: