configdadb - Configure the Data Area for Database Access

configdadb [OPTIONS] [-s|m|b] [-fg] [-p productline] dataarea

configdadb configures a data area for database access, including building the database configuration files and database schemas as needed.

If you use SQL Server, when you run the configdadb utility in non-auto mode, you will need to specify values for the following:

Value Description
The database server configuration to use for the data area.

Specify a named database access configuration or specify None. If you specify None, you will then need to specify the additional values below.

For more information about defining a database access configuration, see the configdatabase - Configure Named Database Access.

Note: 

This prompt or field only appears if you have already defined at least one database access configuration through the configdatabase utility.

The database to use for this data area. Choose the number from the list presented by the interview that represents the database you will use, or if in GUI mode, select the database from the drop-down list.
Are you connecting to an availability group listener of a SQL Server availability group or a SQL Server Failover Cluster Instance? This applies only to SQL Server 2012 and higher. If yes, do not specify an InstanceName, but rather the availability group listener of the availability group as the SQL Server.
The name of the SQL Server server to use.
The port number of the remote SQL Server database. If the SQL instance is configured to use dynamic ports, use 0 for the port. Otherwise specify the correct static port.
The name of the database on the server.
Do you want to use unicode support?
The name of the full text index for the database on the server.
The user ID to use when connecting to SQL Server. A user defined in the SQL Server database.
The password for the user. The password for the SQL Server user.
Do you want to specify filegroups for tables and indexes? If you choose to use filegroups, you will need to provide the names of the filegroups to use for tables, indexes, and large objects.
The prefix to use to build schema names The schema name will be created by concatenating the prefix with an underscore and then the data area name. The resulting schema name cannot exceed 18 characters in length and must start with a letter.

The following files are created or updated by configdadb:

  • %LARUNDIR%\dataarea\db.cfg

  • %LASRCDIR%\dict\dataarea.xml

Program Option Description
-f or --force Force a rebuild of the database configuration files, even if they exist.
-g or --gui Prompt for interactive data area specifications through an input form.
-e or --env=envName (Internal use only) The environment data area to associate with.
-s or --s3 Create entries for Infor Lawson System Foundation connection information in the dataarea.xml file (generally used only by installer programs).
-m or --m3 Create entries for Lawson M3 Foundation connection information in the dataarea.xml file (generally used only by installer programs).
-b Create entries for both Infor Lawson System Foundation and Lawson M3 Foundation connection information in the dataarea.xml file (generally used only by installer programs).
-p productline or --pl=prodlineName The product line to base the data area on. This defaults to the data area name. This option is only needed if you have more than one data area within a product line.
--auto Auto configuration. In this case, configdadb runs without prompting for any additional data. If there is missing or incorrect information, the program errors out.
db=Name The name of an existing database configuration to use as a configuration template. You create database configurations through the configdatabase utility.
--panel=FileName Internal use only.
--view (Internal use only) To use with an existing database.
NAME=VALUE (Internal use only) To override a parameter value (such as "SCHEMA") from the database configuration with the specified value.
dataarea The data area to create.