HCL Workload Automation, Version 9.4

Scenario: Creating a job definition and submitting to a pool

In this scenario, you need to run an inventory update script, therefore you create a pool, grouping workstations where the required program is installed, and a job to run the script. You select the target system for the job from the invadmin pool.

About this task

To create a pool and submit a job to it, perform the following steps:

Procedure

  1. Log in to the Dynamic Workload Console.
  2. From the navigation toolbar, click Administration > Workload Environment Design > Create Workstations.
  3. Select an engine and click OK.
  4. The Workstation Properties page is displayed.
  5. Select Pool in the Workstation type menu.
  6. Name the pool invadmin and complete the required fields.
  7. Select the workstations you want to add to the pool. Select the workstations where the required program is installed.
  8. Click Save to save the pool.
  9. From the navigation toolbar, click Administration > Workload Design > Manage Workload Definitions
  10. Specify an engine name, either distributed or z/OS®. The Workload Designer opens. Job types and characteristics vary depending on whether you select a distributed or a z/OS engine.
  11. Select New > Job Definition > Native > Executable.
  12. Specify a name for the job.
  13. In the Workstation field, specify the invadmin pool you previously defined.
  14. Browse to the Task tab and select Command.
  15. Type the name and path to the executable file you want to run, located on each workstation in the pool.
  16. Click Save to save the job.
  17. From the navigation toolbar, click Administration > Workload Submission > Submit Predefined Jobs.