Hitachi

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


3.4.5 Procedure for using the ajsrgimport command to import registered execution-schedule information for jobnets

To import the registered execution-schedule information for jobnets:

  1. Recover the unit definition information.

    If necessary, recover the unit definition information.

    For details, see 2.3.4(9) Recovering the unit definition.

    This step is not required if the unit definition information has not changed since the registered execution-schedule information for jobnets was exported.

  2. Restart the service on the agent host

    When the manager and agent are monitoring events are on separate hosts, restart the JP1/AJS3 service on the agent host.

    In other cases, this step is not required.

  3. Execute the ajsalter command to suppress the execution of jobs.

    Execute the command in the following format:

    ajsalter -F service-name -s EXEC

    For details about the ajsalter command, see ajsalter in 3. Commands Used for Normal Operations in the manual JP1/Automatic Job Management System 3 Command Reference.

  4. Execute the ajsrgimport command to import the registered execution-schedule information for jobnets.

    Execute the command in the following format:

    ajsrgimport [-F service-name] [-f] [-u unit-name|-o unit-name]... -i file-of-registered-execution-schedule-information-for-jobnet-name
    Cautionary note

    Before you execute the ajsrgimport command, make sure that registration of the target jobnet has been canceled. If the jobnet is still registered, the ajsrgimport command terminates abnormally.

    Supplementary note

    You can specify the -f option in the ajsrgimport command to specify whether to execute a jobnet immediately if the scheduled time for starting execution on a particular day has already passed when the information is imported.

    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.

  5. Check the registration status (import status), and change it if necessary.

    If there is a jobnet you do not want to execute on the current day or a unit for which you want to temporarily change the hold attribute (hold or release hold), temporarily change the plan.

  6. After making sure that there are no problems in the import results, execute the ajsalter command to release the suppression of job execution.

    Execute the command in the following format:

    ajsalter -F service-name -s none

    For details about the ajsalter command, see ajsalter in 3. Commands Used for Normal Operations in the manual JP1/Automatic Job Management System 3 Command Reference.