BATCH.JOB.CONTROL is the subroutine that controls batch jobs. For
example, it essentially runs the CoB. Typically during the CoB, for
"multithreaded" processes, it will call the .LOAD routine, then
the .SELECT routine and, for each record to be processed, will start a
transaction boundary (unless the routine has .NTX set in
ADDITIONAL.INFO in F.PGM.FILE), call the routine to process a record
(commonly called the "record routine") and, on return, commit the
transaction, then, when all records have been processed, call
the .POST routine. It can also do a number of other things, like
logging performance stats etc.. To clarify, in a multithreaded CoB, an
"instance" of BJC will run on each "thread" (or PID), with any one of
the threads performing the .LOAD, .SELECT and .POST routines, and
multiple instances calling the record routine simultaneously. Note
also that the term "multithreaded" has a distinct meaning in the T24
context, meaning that the processing is shared by multiple processes.
Mike.