IBM Books

Administration and Programming Guide for OS/400


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:

See Creating an Initialization File to learn how to create an initialization file.

The sample initialization file shown in Figure 2 contains examples of these statements.

Figure 2. The Net.Data initialization file






1  DTW_SMTP_SERVER 9.5.5.78
 
2  MACRO_PATH    /WWW/MACRO;/QSYS.LIB/WWW.LIB/MACRO.FILE
3  INCLUDE_PATH  /WWW/MACRO;/QSYS.LIB/WWW.LIB/MACRO.FILE
4  EXEC_PATH     /QSYS.LIB;/QSYS.LIB/WWW.LIB
 
5  ENVIRONMENT(MYLE1) /QSYS.LIB/LELIB.LIB/MYLE1.SRVPGM 
  (IN VAR1, OUT VAR2)



  • Line 1 sets the values of the configuration variables
  • Lines 2- 4 define paths to the files that Net.Data needs to access
  • Line 5 specifies a user-defined ENVIRONMENT statement



The text of each individual configuration statement must all be on one line. (An ENVIRONMENT statement is shown on several lines for readability.) Ensure that the initialization file contains an ENVIRONMENT statement for each user-defined 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.

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


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