Understanding the Customization File

   

Each section header in the customization file consists of square brackets ([]) containing a type and operand. The four section types are indicated by the literal strings connect, sql, userlist, or logs. The operand is the literal string, default, a user-specified identifier, or nothing.

Therefore, each section is marked with one of the following section headers:

[ connect   default      ]
[ connect   identifier   ]
[ sql         default      ]
[ sql         identifier   ]
[ userlist   identifier   ]
[ logs                  ]

The section headers have the following parts:

Part Description
connect Literal string—This section modifies a connect string.
sql Literal string—This section modifies a command string.
userlist Literal string—This section modifies the access rights of a specific user.
logs Literal string—This section specifies a log file that records operational errors.
default Literal string—This section is used if no identifier is specified or found.
identifier A string that matches a string in the connect or command string.
  • Use this section if the section header contains connect and the identifier string is found in the connect string.

  • Use this section if the section header contains sql and the identifier string is found in the command string.

  • Use this section if the section header contains userlist and the identifier string matches a connect section identifier.

The DataFactory calls the Handler, passing client parameters. The Handler searches for whole strings in the client parameters that match identifiers in the appropriate section headers. If a match is found, the contents of that section are applied to the client parameter.

A particular section is used under the following circumstances: