Processing application requests for database services in the CA IDMS DDS environment involves:
Identifying the target database and node
When a request unit signs on to its host node, it names a target database and/or node. This action signals to the host node that all requests for database services are to be routed to the named node or database. If the unit names only a target node and no database, the target node selects the default database (under its control) as the one to be accessed to service requests issued by the request unit. If the request unit names the host node or a database controlled by the host node, all requests for database services are handled by the host node.
Routing database requests to the target node
After the target node has been identified, the optimum path is selected along which to route database requests from the host node to the target node. The selected path is used to transfer every database requests issued by the request unit. If the path becomes unavailable at any point during request unit processing, another path is automatically selected if one is available.
Servicing database requests
When the request unit issues a database access request, the host node signals CA IDMS DDS to transfer the request and any accompanying data to the target node. The request and data are routed along the selected path to the target node. The target node performs the requested database operation and returns a response to the host node, which in turn passes the results of the request to the request unit.
Target nodes do the work
Each database request issued by the request unit is serviced in the same manner: the host node passes a request to the target node, which services the request and returns a response to the host node. If, at any point during run-unit execution, the application program abends, the target node performs any necessary recovery of the database being accessed. When the request unit terminates normally, the application program can begin a new request unit.
When a batch to CV application accessing SYSTEM01 requests database services from SYSTEM02, the following sequence of events occurs:
The following illustration shows the process involved in executing a database request through CA IDMS DDS.

Applications executing in the CA IDMS DDS environment can execute multiple request units sequentially or concurrently. Each concurrently executing request unit can access a different database and/or node.
|
Copyright © 2013 CA.
All rights reserved.
|
|