Guardian Programmer's Guide

Table Of Contents
Writing a Requester Program
Guardian Programmer’s Guide 421922-014
21 - 3
Application Control
input into a specific format for processing. See Section 19, Formatting and
Manipulating Character Data, for details.
For the convenience of the server, the input data is usually placed in a data structure
that enables the server to receive the data in known format.
Similarly, the requester usually needs to perform data mapping on information sent to
the requester by the server before printing it on the terminal. Here, the requester
usually receives the information in the form of a data structure. The requester must
extract the information it needs from the data structure and, if necessary, convert it into
a humanly readable form before writing it to the terminal.
Application Control
Application control is the part of the requester that interacts with the server process.
This part of the requester can provide the following functions:
Selection of a specific server process to do a specific job
Selection of a generic context-free server
Transaction control through the use of procedure calls to the TMF subsystem
The following paragraphs describe these functions.
Selecting a Server by Function
Typically, the application-control part of the requester process selects a server process
to carry out a task dependent on the input provided by the user. For example, the
requester could select one server process to print out a bank statement or a different
server process to transfer money between accounts. Figure 21-2 shows another
example.
Figure 21-2. Server Selection by Function
VST104.VSD