Variables in the database driver configuration file
These topics describe the variables in the MICROSOFT database driver configuration file:
Parameters that Specify Your Database Implementation
The parameters in this table configure the database.
Parameter | Description |
---|---|
LAWGATENAME
|
msfdb2000 The name of the database driver executable, used between the Lawson applications and the Microsoft SQL Server database. |
DBNAME
|
Required. The database name. The default is the data area name. If you want to use another name, enter it with this parameter. |
MICROSOFT_HOME
|
The directory where Microsoft SQL Server is installed. |
DBSERVER
|
Required. |
LOGINNAME
|
Required. Enter this parameter when using
the This is the user name used when the database driver connects
to the Microsoft SQL Server database. The default is |
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 database owner. If the tables were not created by
the user named in Note: If
a data area’s Microsoft SQL Server tables belong to the dbo user, then specify
SCHEMA=dbo in
the MICROSOFT database driver configuration file.
If
If
|
FILEGROUPS
|
Optional. The default is
|
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. This parameter should not be included in the MICROSOFT file for normal Lawson applications data processing through the database driver (msfdb2000). 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, Note: Using this configuration
setting for Microsoft SQL Server can cause database blocking for batch tokens
under normal use if set too high. If blocking occurs, decrease the setting or
remove it.
As with |
Parameters that optimize idle GEN and LOGAN queries: Microsoft SQL Server only
New settings can be added to the MICROSOFT capital (cap) file to configure the msfdb2000 drivers to clean up long running queries in the GEN and LOGAN product lines:
IMPLICITROLLBACK=TRUE /* rollback implicit transactions */
IMPLICITCOMMIT=TRUE /* commit implicit transactions */
When monitoring database queries, long running queries against GEN and LOGAN tables can be detected.
- Add either of the settings to the GEN and LOGAN cap files.
- Restart the environment and the application servers.