Previous topic |
Next topic |
Contents |
Contact z/OS |
Library |
PDF
Applying advanced application development techniques z/OS DFSMStvs Planning and Operating Guide SC23-6877-00 |
|
If you use DFSMStvs for more than just running batch jobs that are in a CICS® batch window, this topic can help you apply advanced techniques for coding your application. You need to convert batch jobs that use DFSMStvs to update recoverable
data sets. This involves the following tasks:
Another reason to use more advanced techniques would be if you would like to split a batch process into several jobs. By splitting a batch process, originally written to be a single threaded job, you can use DFSMStvs and run the jobs in parallel. Another reason to use more advanced techniques would be if you have a batch process that was originally written to be a single threaded job, but using DFSMStvs, you would like to split it into several jobs that run in parallel. For example: You have a recoverable data set that contains 100 000 records, and a batch job that processes all the records and updates them. Assuming that the updates are independent of each other, you might split the batch job into four jobs. The first job would process records 1-25 000. The second job would process records 25 001 - 50 000. The third job would process records 50 001 - 75 000, and the fourth job would process records 75 001 - 100 000. Alternatively, your batch job could run as a mother task which attached four subtasks. The mother task would give work to each of the subtasks, and as each subtask completed its job, the mother task would give it more work. Using this approach, each of the subtasks would be dealing with an independent context and unit of recovery. |
Copyright IBM Corporation 1990, 2014
|