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


Applying a checkpoint algorithm to a batch step

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

Checkpoint algorithms are applied to a batch job through xJCL. You can declare multiple checkpoint algorithms in xJCL, and you can apply a different algorithm to each batch step. You can apply no more than one checkpoint algorithm to a batch step.

The following example applies checkpoint algorithms in xJCL:

<job name="PostingsSampleEar">

<checkpoint-algorithm name="timebased">
     <classname>com.ibm.wsspi.batch.checkpointalgorithms.timebased</classname>	
     <props>
           <prop name="interval" value="15" />
           <prop name=" TransactionTimeOut" value="30" />
     </props>
</checkpoint-algorithm>

<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>

<job-step name="Step1">
     <checkpoint-algorithm-ref name="timebased" />
</job-step>

<job-step name="Step2">
     <checkpoint-algorithm-ref name="recordbased" />
</job-step>
</job>

Go to the previous page Go to the next page




Copyright IBM Corporation 1990, 2014