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 product line and data area queries: Microsoft SQL Server only
Settings can be added to the MICROSOFT capital (cap) file to configure the msfdb2000 drivers to clean up long running queries in any or all product lines and data areas.
Paremeters | Description |
---|---|
IMPLICITROLLBACK=TRUE | You can use this parameter to rollback implicit transactions. |
IMPLICITCOMMIT=TRUE | You can use this parameter to commit implicit transactions. |
When monitoring database queries, long running queries against GEN, LOGAN, product line, and data area tables can be detected.
- Add either of the settings to the product line or data area cap files. For SQL Server 2015 and newer versions, the IMPLICITCOMMIT setting is recommended for all product lines and data areas.
- Restart the environment and the application servers.