z/OS Batch Runtime Planning and User's Guide
Previous topic | Next topic | Contents | Contact z/OS | Library | PDF


Record-based algorithm

z/OS Batch Runtime Planning and User's Guide
SA23-1376-00

The record-based checkpoint algorithm commits global transactions at a specified number of iterations of the processJobStep method of batch step. Each call to the processJobStep method is treated as iterating through one record. The processJobStep method can retrieve multiple records from a batch data stream on each call. However, for this checkpoint algorithm one record is the equivalent one call to the processJobStep method.

The following example declares a record-based algorithm in xJCL:

<checkpoint-algorithm name="recordbased">
     <classname>com.ibm.wsspi.batch.checkpointalgorithms.recordbased</classname>
     <props>
           <prop name="recordcount" value="1000" />
           <prop name="TransactionTimeOut" value="60" />
     </props>
</checkpoint-algorithm>

The unit of the TransactionTimeOut property in the previous example is expressed in seconds.

If not specified in xJCL, the default transaction timeout is 60 seconds and the default record count is 10000.

Go to the previous page Go to the next page




Copyright IBM Corporation 1990, 2014