Hitachi

Job Management Partner 1 Version 10 Job Management Partner 1/Base User's Guide


13.1.1 Defining a local action

The procedure for defining a local action is described below:

  1. Register local action definitions to the common definition information.

    1-1 Copy the model file (jp1bs_lcact_setup.conf.model) for the common definition settings file (local action function) and give the file a name.

    1-2 Edit the copied file.

    1-3 Execute the following command:

    jbssetcnf file-edited-in-step-1-2

    Local action definitions are registered to the common definition information.

    For details on the jbssetcnf command, see jbssetcnf in 15. Commands.

    For details on the common definition settings file (local action function), see Common definition settings file (local action function) in 16. Definition Files. If the common definition settings file (local action function) contains an error, the setting with the error is invalidated and the system operates as if the setting were omitted from the common definition information.

  2. Create and edit the local action execution definition file (jbslcact.conf).

    You must define the following items in the local action execution definition file:

    • Execution conditions of the local action

    • JP1 user name

    • Execution command

    All other items are optional. For details on the local action execution definition file, see Local action execution definition file in 16. Definition Files. If the local action execution definition file contains an error, the command cannot be executed.

  3. Specify user mapping for JP1 users.

    Specify user mapping for the JP1 users required for the execution of each action. For details on how to specify user mapping, see 8.1 User management setup (in Windows) or 8.3 User management setup (in UNIX).

  4. Edit the local action environment variable file.

    Define the environment variables required for the execution of the local action execution commands. For details on the local action environment variable file, see Local action environment variable file in 16. Definition Files. If the local action environment variable file contains an error, the commands cannot be executed.

  5. Enable the local action definition.

    To apply the information, execute the jbs_spmd_reload command. For details on the jbs_spmd_reload command, see jbs_spmd_reload in 15. Commands.