Variables in the database driver configuration file
These topics describe the variables in the IBM database driver configuration file:
Parameters that Specify Your Database Implementation
The parameters in this table configure the database.
Parameter | Description |
---|---|
LAWGATENAME
|
ibmdb The name of the database driver executable, used between the Lawson applications and the IBM DB2 database. |
DBNAME
|
Required. The database name. Enter the name as catalogued on the local system of the IBM DB2 database used to store Lawson tables and indexes for the data area. The suggested entry is The |
PASSWORD
|
Required. Enter this parameter when using
the This is the password for |
SERVICENAME
|
This parameter is required when Lawson Security and Resource Management are implemented to manage users and secure data. This parameter specifies the name of the database service for
this data area. If you do not enter a database service, the login
procedure defaults to |
SCHEMA
|
Required. This parameter is the name of the file system library where the files that correspond to the SQL tables are physically stored. If
If
|
DBPATH
|
The directory where the IBM DB2 database executable runs. |
Parameters that Configure Record Caching
Use these parameters to enable record caching.
Parameter | Description |
---|---|
ARRAYBUFSIZE
|
Optional. Indicates the maximum number of rows to be fetched at a time from the database server. The default is 10 rows. The setting for this variable in the database driver configuration file applies to all files in the data area or data ID unless a variable specific to a program has been created. When a variable specific to a program has been created, it overrides the setting in the database driver configuration file. |
INSERTBUFSIZE
|
Optional. Only applies to specific utilities (dbreorg, dbcopy, importdb -b, impcsv -b) and batch tokens. Indicates the maximum number of rows to be buffered in the database driver before an array insert flushes data out to the database. This parameter must be set to a value greater than 1 to enable array inserts. Lawson recommends a setting of no larger than 10 for normal use. However, when you perform a dbcopy or dbreorg, particularly when a large amount of data has been inserted into the database, increase the size of this parameter. Lawson recommends increasing it to 50 in these cases. Return the parameter to your normal setting when the dbcopy or dbreorg completes. See Editing the Lawson Database Driver Configuration File Applications commit records to the database at different intervals. When a commit
occurs, the insert buffer is flushed. Batch tokens typically commit every 50
records, As with |