Distributed Batch Processing Overview

Distributed batch processing allows you to do either of the following, depending on how you set up your distributed batch processing:

  • Submit batch jobs from any machine in the cluster and have the jobs run on one master machine. That is, you submit jobs from any machine, including either the master machine or remote machines, and then all steps in the jobs are run on the master machine. To use this option, you do not assign batch programs to nodes in the Form ID Definition utility (tokendef).

  • Submit batch jobs from any machine in the cluster and have the steps for the jobs run on any machine in the cluster. That is, you submit jobs from any machine. Then, the machine with the master batch service determines which machine each job step should run on, based on how each job step's batch program was set up in the Form ID Definition utility (tokendef).

In both of these cases, after each job step is processed, any print files will be available from any machine in the cluster. Log files will be available on the machine where the batch job was run.

Note: In the case of a multi-step job that uses work files, you must take care that if a later step needs a work file created by an earlier step, both of these steps are processed on the same node or machine. This is because work files are identified by the node where they were created. If a job step needs a work file that was created on a different node than the step is being processed on, that step will not be able to find the work file and will not be able to run successfully.

Distributed batch processing depends on the following services and programs being set up on the appropriate machines in the cluster.

Service or Program Description
lajs The Lawson Batch Server. In a distributed batch processing system, you will designate the lajs on one machine as the master batch server. The Lawson Batch Server is a standard part of the Lawson Environment.
execjob The program that manages the execution of the submitted job. This program is a standard part of every Lawson Environment.
tcpjs Lawson remote batch job service API (JS API). This is a set of code that enables remote batch clients to communicate with the master batch server through the remote batch job service daemon (tcpjsd).
tcpjsd Lawson remote batch job service daemon.
tcpexecjob Lawson remote batch execution program. Used on the same machine as the master batch server (lajs) to communicate between lajs and the remote batch execution daemon (tcpexecjobd) on the remote machines or nodes for jobs that run on those machines.
tcpexecjobd Lawson remote batch execution daemon