Tier Aware Batch Processing
Example 136 - Rating: advanced
Example 136 - Rating: advanced
The Things that Make Up this Example | To Execute this Example |
Batch processing is an important part of any large scale application. Any task expected to take too long for someone to wait for it to complete should always at least have an option to be run in a batch mode. The example demonstrates:
The form shows the current contents of the PSLMST employee table (from the DATA tier) and also allows you to directly update employee name details (on the DATA tier) via the "Update Employee" button.
However, this form's primary role is to submit function VSAM137 as a batch task.
VSAM137's batch task is to accept an employee number as input and then update the associated employee's name with a date-time stamp like ==DDDDDDHHMMSS==.
VSAM137's batch task itself is quick (too quick to be a real batch task) but it's nature means you can quickly and easily confirm the results of VSAM137's batch activities.
The easiest way to understand all of the preceding points is to cut/paste/compile the examples and then combine execution of them with reading of the comments contained within them.
Keywords
- Some programming techniques that can be used in tier managed batch applications.
- Use of the BATCH (batch) and DATA (database) tiers.
- How the use of a tier scheme can automatically allow batch jobs to be started on the tier that will offer them the best possible batch processing throughput.
The form shows the current contents of the PSLMST employee table (from the DATA tier) and also allows you to directly update employee name details (on the DATA tier) via the "Update Employee" button.
However, this form's primary role is to submit function VSAM137 as a batch task.
VSAM137's batch task is to accept an employee number as input and then update the associated employee's name with a date-time stamp like ==DDDDDDHHMMSS==.
VSAM137's batch task itself is quick (too quick to be a real batch task) but it's nature means you can quickly and easily confirm the results of VSAM137's batch activities.
The easiest way to understand all of the preceding points is to cut/paste/compile the examples and then combine execution of them with reading of the comments contained within them.
Keywords
Tier | Management |
Multi-Tier | Remote Procedure |
Database | Client |
Server | n-Tier |
Batch | Example 136 |