Lawson Batch Job Server (LAJS)

LAJS is an Environment program that is always active. Its main job is to check the Job Scheduler, a GEN table of jobs that have been submitted, to look for batch jobs that can be started. Factors including, position in queue, size of job, time, concurrency rules, determine if a job can start. When LAJS identifies a job that can be started, it starts a Job Executor to handle the actual running of the job.

Job Executors (execjob and tcpexecjob): UNIX and Windows only

Job Executors are programs that manage batch processes. They are invoked by LAJS at the appropriate time in the batch job process. Customers run batch jobs locally (on a single server) or in a distributed computing environment on UNIX or Windows (across multiple servers). For local jobs, the job executor is execjob. For remote jobs, which communicate across TCP/IP sockets, the job executor is tcpexecjob.

The Job Executor's role is to handle pre- and post-processing of a job. Before a job is run, the Job Executor checks permissions on report files and binds standard output (stdout) and error messages (stderr) to the job's log file. When preliminaries are completed, it starts up the application. If the application completes successfully, it distributes reports and creates data for Crystal Reports.