|
Client applications and VG-Application Server |
Overview
The solution here is co-operative Client/Server processing. Application code is needed both in Client and in Server environments. Server applications typically access databases or files, but they may also contain common application logic, which is suitable for the Server platform.
Client/Server Communication
The communication between the Client application and the VG-Application Server application is implemented using three pipes:
- Client-to-Server pipe
- Server-to-Client pipe
- Message pipe (IDMS only)
Typical Client functions
Client applications send data to the Server application by writing records to the Client-to-Server pipe using the PutServer function. The automatically started Server application reads records from the Client-to-Server pipe, processes the records and sends data back to the Client application by writing records to the Server-to-Client pipe. Depending on the environment the Server application accesses these pipes as sequential files (batch) or scratch areas (IDMS).
GetServer function reads Server data from the Server-to-Client pipe using .
EndServer function ends the Server application instance (task).
SetupServer function sets runtime parameters (e.g. the Server program name).
This page uses frames, but your browser doesn't support them.