Customizing the Net.Data Initialization File

The information contained in the initialization file is specified using three types of configuration statements, described in the following sections:

The sample initialization file shown in Figure 5 contains examples of these statements and is valid for for OS/2 and Windows NT.

The text of each individual configuration statement must all be on one line. Ensure that the initialization file contains an ENVIRONMENT statement for each language environment that you call from your macros. If you fully qualify all references to files within the macro, you do not need to specify any of the path configuration statements.

Figure 5. The Net.Data initialization file. For complete descriptions of the DLL Path and Parameter List, refer to the db2www.ini file itself and Environment Configuration Statements.




1  DTW_CM_PORT 7128
2  DTW_INST_DIR c:\db2www
3  DTW_LOG_DIR c:\db2www\logs
4  DB2INSTANCE DB2
5  DTW_DIRECT_REQUEST NO
6  DTW_SHOWSQL NO
7  DTW_UNICODE NO
8  DTW_MBMODE NO
9  MACRO_PATH c:\DB2WWW\Macro
10 HTML_PATH  c:\www\html
11 INCLUDE_PATH c:\db2www\Macro
12 EXEC_PATH c:\db2www\Macro
13 FFI_PATH c:\pub\ffi;pub\ffi\data
14 ENVIRONMENT (DTW_SQL)      [DLL path]   [Parameter list]
15 ENVIRONMENT (DTW_ORA)      [DLL path]   [Parameter list]
16 ENVIRONMENT (DTW_ODBC)     [DLL path]   [Parameter list]
17 ENVIRONMENT (DTW_DEFAULT)  [DLL path]   [Parameter list]
18 ENVIRONMENT (DTW_APPLET)   [DLL path]   [Parameter list]
19 ENVIRONMENT (DTW_REXX)     [DLL path]   [Parameter list]
20 ENVIRONMENT (DTW_PERL)     [DLL path]   [Parameter list]
21 ENVIRONMENT (DTW_SYSTEM)   [DLL path]   [Parameter list]
22 ENVIRONMENT (DTW_FILE)     [DLL path]   [Parameter list]
23 ENVIRONMENT (DTW_WEBREG)   [DLL path]   [Parameter list]
24 ENVIRONMENT (DTW_JAVAPPS)  [DLL path]   [Parameter list]
25 ENVIRONMENT (HWS_LE)       [DLL path]   [Parameter list]



  • Lines 1 - 8 define configuration variables
  • Lines 9 - 13 define paths to files required to process the macro
  • Lines 14 - 25 define the environment statements that are available.



The following sections describe how to customize the configuration statements in the initialization file.


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