Hitachi

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


3.4.4 Procedure for using the ajsrgexport command to export the registered execution-schedule information for jobnets

To export the registered execution-schedule information for jobnets:

  1. Back up the unit definition information.

    If necessary, back up the unit definition information.

    For details, see 2.2.3(4) Backing up the unit definition.

  2. Execute the ajsrgexport command to export the registered execution-schedule information for jobnets.

    Execute the command in the following format:

    ajsrgexport [-F service-name] [-R] [-e {s|f}] [-o file-of-registered-execution-schedule-information-for-jobnet-name] [-m] unit-name...

    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.

    Cautionary note

    Do not change the exported file of registered execution-schedule information for jobnets. If you make any changes, the command might not operate correctly.

  3. Check whether the execution schedule has been changed by temporarily changing the plan.

    For a jobnet registered for planned execution, any changes made by temporarily changing the plan are not exported. As a result, only the information before the changes is imported. If you want to use the schedule as changed by temporarily changing the plan at the importing location, you need to retain the data necessary for changing the schedule after the import.

    For a jobnet registered for fixed execution, any changes made by temporarily changing the plan are exported. As a result, the jobnet is registered for execution with the new schedule after the import. Note, however, that these changes cannot be canceled. You therefore need to retain the data necessary for restoring the schedule to its original status following the import.

    If you do not have the data necessary for changing the schedule by temporarily changing the plan or for restoring the schedule to its original status following the import, use the ajsshow command to check the registration status, and then export the information. For details about the ajsshow command, see ajsshow in 3. Commands Used for Normal Operations in the manual JP1/Automatic Job Management System 3 Command Reference.

    This step is necessary only if the execution schedule has been changed by temporarily changing the plan.

Cautionary note

The ajsrgexport command obtains the registered execution-schedule information for jobnets from the scheduled generation of a root jobnet registered for execution. When a root jobnet registered for fixed execution is exported, this command also obtains the information about the changes made by temporarily changing the plan. As a result, if this command is executed while generation information is being changed, as when the root jobnet is being registered for execution or schedule information is being created or deleted, an error might occur.

For details about the scheduled generation of jobnets, see 4.2 Managing jobnet generations in the manual JP1/Automatic Job Management System 3 Overview.