Configuring Language Environments

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.


The Language Environment Page of the Net.Data Administration Tool

To add a language environment:

  1. Start the administration tool.
  2. From the Language Environment page, select <new...> from the Language environment list. The Add a new language environment window opens.
  3. 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 Add a Language Environment window of the Net.Data Administration Tool

    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.

  4. Close the administration tool, or click on another tab to complete additional configuration tasks.

To modify a language environment:

  1. Start the administration tool.
  2. 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.
  3. Modify the properties in the Properties group box, shown in Figure 12 as needed:
    1. 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.
    2. Specify the shared library or DLL program name and path for the language environment in the Shared library or dll name field.
    3. 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.


      The DB2 Information window of the Net.Data Administration Tool

      Specify the values for the DB2 environment variables:

      1. Type the path and file name of the bind file in the Bind file field.
      2. Specify the DB2INSTANCE value for the database associated when you use the SQL language environment in the DB2 Instance field.
      3. Specify the path directory name for the DB2 product executable files, usually \SQLLIB, in the DB2 Path field.
      4. Click on OK to save your changes and close the window.
    4. 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.

    5. Specify whether to use cliettes and which cliette should be associated with the language environment in the Live Connection cliettes group box.
      1. 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.
      2. 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
        
  4. Select File and then Save to save your changes
  5. 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.

  1. Start the administration tool.
  2. From the Language Environment page, select the name of the language environment that you want to delete from the Language environment list.
  3. Click on the Delete button.
  4. Close the administration tool, or click on another tab to complete additional configuration tasks.


[ Top of Page | Previous Page | Next Page | Index ]