After you've configured and started the database, Web server, and
Connection Manager, Net.Data processing typically involves these steps
when Live Connection is enabled:
- The Web server receives a request and starts either a FastCGI, CGI or API
process to run Net.Data.
- Net.Data starts processing the Net.Data macro.
- When Net.Data encounters a function call that uses Live Connection,
it determines what type of cliette is needed from the initialization
file. For DB2, the cliette type is often a name based on the DB2
database name, such as DTW_SQL:CELDIAL.
- Net.Data asks the Connection Manager for a cliette of that
type.
- The Connection Manager looks for available cliettes of that type.
If none is available, the Connection Manager puts the request on a queue and
processes it when the right cliette type is available.
- When a cliette becomes available, the Connection Manager tells
Net.Data how to communicate with the cliette.
- Net.Data asks the cliette to process the function.
- This process is repeated from step 3 until the Net.Data macro
processing is complete.
- All cliettes are released.
If a cliette is specified in the initialization file but the Connection
Manager is not running, Net.Data loads the DLL and processes the
macro. If you use an API, you are likely to receive errors, and you
should start the Connection Manager.
[ Top of Page | Previous Page | Next Page | Index ]