Adding Tier Awareness to Existing Applications
Example 141 - Rating: advanced
Example 141 - Rating: advanced
| The Things that Make Up this Example | To Execute this Example |
The RDML functions VSAM141 (shown) and VSAM142 (submitted to batch by using function key 7 or the "BatchJob" button) are used to represent an existing LANSA application.
VSAM141 is a standard Browse/Maintain/Add RDML function that works with Employee details.
VSAM142 is batch function that updates employee salaries by 10%.
VSAM142 is submitted to batch by VSAM141 when function key 7 or button "BatchJob" is used.
Collectively VSAM141 and VSAM142 represent the two major areas (ie: interactive and batch) of a classic application originally designed for execution in an iSeries 5250 green screen environment.
This example demonstrates a technique for making VSAM141 and VSAM142 tier aware without changing a single line of their existing logic.
VSAM141 is a standard Browse/Maintain/Add RDML function that works with Employee details.
VSAM142 is batch function that updates employee salaries by 10%.
VSAM142 is submitted to batch by VSAM141 when function key 7 or button "BatchJob" is used.
Collectively VSAM141 and VSAM142 represent the two major areas (ie: interactive and batch) of a classic application originally designed for execution in an iSeries 5250 green screen environment.
This example demonstrates a technique for making VSAM141 and VSAM142 tier aware without changing a single line of their existing logic.

| Tier | Management |
| Multi-Tier | Remote Procedure |
| Database | Client |
| Server | n-Tier |
| Example 141 |