Hitachi

JP1 Version 12 JP1/Automatic Job Management System 3 Administration Guide


3.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 3‒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 3. Commands Used for Normal Operations in the manual JP1/Automatic Job Management System 3 Command Reference. For details about the file of registered execution-schedule information for jobnets, see 5.6 File of registered execution-schedule information for jobnets in the manual JP1/Automatic Job Management System 3 Command Reference.

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 JP1/Automatic Job Management System 3 Overview.

Figure 3‒3: Execution schedules to be exported

[Figure]

Note that for root jobnets that are registered for planned execution, changes in the schedule made by temporarily changing the plan are not exported. Therefore, after importing the exported information, you must make temporary changes again to the schedule. For root jobnets that have been registered for fixed execution, temporary changes made in the schedule are also exported. However, these changes cannot be undone at the import-destination host. Also note that for root jobnets that are registered for fixed execution and whose schedule is temporarily changed, the export results do not include information that indicates whether wait conditions have been temporarily enabled or disabled. Therefore, after importing the exported information, you must make temporary changes again, as needed, to enable or disable wait conditions.

(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 3. Commands Used for Normal Operations in the manual JP1/Automatic Job Management System 3 Command Reference.

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 3‒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: