Use the Language Environment page to add, modify, or delete
Net.Data language environments. Language environments are
discussed in Environment Configuration Statements. Figure 11 shows the Language Environment
page.
Figure 11. The Language Environment Page of the Net.Data Administration Tool. Use this page to specify language environments.
To add a language environment:
- Start the administration tool.
- From the Language Environment page, select
<new...> from the Language
environment list. The Add a new language environment
window opens.
- Type a name of the language environment in the field and click on the
Add button. The Add a Language Environment window
opens.
Figure 12. The Add a Language Environment window of the Net.Data Administration Tool. Use this page to specify a new language environment.
The new language environment is created and its name is added to the bottom
of the language environment list. Additionally, the new name is
highlighted, and the default properties for the language environment are
displayed in the Properties group box. You can change these
values to fit your configuration.
- Close the administration tool, or click on another tab to complete
additional configuration tasks.
To modify a language environment:
- Start the administration tool.
- From the Language Environment page, select the name of the
language environment that you want to change from the Language
environment list. The properties of the cliette are displayed in
the Properties group box.
- Modify the properties in the Properties group box, shown in Figure 12 as needed:
- Specify the name of the language environment in the Name
field; this name corresponds to the language environment type used to
define a cliette. To change this value, double click on a different
name from the Language environment list. See Environment Configuration Statements for more information about language environment
types.
- Specify the shared library or DLL program name and path for the language
environment in the Shared library or dll name field.
- Select the DB2 information push button to display the DB2
Information window as shown in Figure 13.
Figure 13. The DB2 Information window of the Net.Data Administration Tool. Use this page to specify information specifically for DB2 databases.
Specify the values for the DB2 environment variables:
- Type the path and file name of the bind file in the Bind file
field.
- Specify the DB2INSTANCE value for the database associated when you use the
SQL language environment in the DB2 Instance field.
- Specify the path directory name for the DB2 product executable files,
usually \SQLLIB, in the DB2 Path field.
- Click on OK to save your changes and close the window.
- Specify the input and output parameters that are passed to or from a
language environment each time the language environment is called in the
Parameters group box.
Tip: Do not update these fields unless you are defining
your own language environment.
- Specify whether to use cliettes and which cliette should be associated
with the language environment in the Live Connection cliettes group
box.
- Specify whether the cliette for the language environment is active by
checking the Use Live Connection cliette check box. Select
this check box if you want to use the cliette specified in the
Cliette field when calling the language environment.
- Specify the name of the cliette that is to be run with the language
environment being defined in the Cliette field. The syntax
of the name depends on whether you are configuring a database or the Java
Application language environment. The default is
DTW_SQL:$(DATABASE).
Syntax for Databases:
type:name
Where:
- type
- The language environment type for the cliette. It can be one of the
following values:
- For Windows NT:
- DTW_ODBC, DTW_ORA, DTW_SQL, DTW_JAVAPPS
- For OS/2:
- DTW_SQL, DTW_JAVAPPS
- For AIX:
- DTW_ODBC, DTW_ORA, DTW_SQL, DTW_JAVAPPS
- name
- The name of the cliette as defined on the Cliette page.
The default is $(DATABASE).
Syntax for Java Applications:
DTW_JAVAPPS
- Select File and then Save to save your changes
- Close the administration tool, or click on another tab to complete
additional configuration tasks.
To delete a language environment:
Restriction: You can delete only the language environments
created by users, not the language environments that come with
Net.Data.
- Start the administration tool.
- From the Language Environment page, select the name of the
language environment that you want to delete from the Language
environment list.
- Click on the Delete button.
- Close the administration tool, or click on another tab to complete
additional configuration tasks.
[ Top of Page | Previous Page | Next Page | Index ]