Data Tier Awareness

LANSA

Data Tier Awareness
Example 135 - Rating: advanced
The Things that Make Up this ExampleTo Execute this Example

This form is a simple employee enquiry named VL_SAM135.

What is special about this form is that it is "tier aware".

To make this form tier aware just two special commands are required:
EVTROUTINE handling(#Com_Owner.Initialize);
Change #Std_Obj *Data_Tier; -------------- This command
ENDROUTINE;
EVTROUTINE handling(#Com_Owner.Closing);
Change #Std_Obj *End_All_Tiers; ---------- and this command
ENDROUTINE;

The references to system variables *DATA_TIER in the Initialize event routine and *END_ALL_TIERS in the Closing event routine make this form tier aware (see the source code of this example for more details).

Keywords
TierManagement
Multi Tier Remote Procedure
DatabaseClient
Servern-Tier
Example 135