Client Version 1.4.1
 —  Entire Net-Work Client Installation and Administration  —

Identifying the Client Configuration to Your Application

When your application attempts to access a database, it needs to know which client configuration it should use for its communications with the database. You can specify which client configuration should be used by your application in one of two ways:

This document describes both methods:


Specifying the Configuration by Environment Variable

Start of instruction setTo specify the client configuration using an environment variable:

Top of page

Specifying the Configuration in Your Application

Start of instruction setTo specify the client configuration in your application:

  1. Use the AdaSetParameter function in your application to specify the client configuration name prior to accessing the database. The syntax of the AdaSetParameter function is:

    AdaSetParameter ("WCPCONFIG=configname")
    

    -- where configname is the name of the configuration.

Top of page