Creating a job batch

You can create a job batch.

Procedure

  1. Choose Tools > Batch > New... . The Create New Batch dialog box appears.
  2. Select the repository folder in which you want to store the batch job. The path and folder name are shown in the Folder Path field.
  3. Enter a name for the new batch in the Item name field.
  4. Click OK. The Job Properties dialog box appears.
  5. Select the jobs to add to the batch from the Add Job list on the Job control page (note that you cannot add an RTI-enabled job to a job batch). This list displays all the server and parallel jobs in the project. You are prompted to enter parameter values, and row and warning limits for each job in the batch. As each job is added to the batch, the control information is added to the Job control page.
  6. Click the General tab. The General page appears at the front of the Job Properties dialog box. Optionally, enter a brief description of the batch in the Short job description field. This description appears in the Parameters/Description column in the Job Schedule view.
  7. Optionally, enter a more detailed description of the batch in the Full job description field.
  8. Click the Parameters tab. The Parameters page appears at the front of the Job Properties dialog box.
  9. Define any parameters that you want to specify for the batch. For example, a user name and password to prompt for when the batch is run.
  10. When you have defined the batch, click OK. The batch is compiled and appears in the Job Status view.
    Note: The Dependencies page allows you to specify the dependencies of the batch job. You only need to do this if you intend to export the batch job for deployment on another system by using the Designer. Information on dependencies and exporting jobs is in IBM® InfoSphere® DataStage® Designer Client Guide.
    Note: When you create a batch job you are, in effect, creating a server job whose function is to run other jobs (these can be other server jobs or parallel job). The Job Properties dialog box give access to the same performance improvement facilities of ordinary server jobs. The Performance page allows you to improve the performance of the job by specifying the way the system divides jobs into processes. For a full explanation of this, see Chapter 2 of InfoSphere DataStage Server Job Developer Guide.