Before running Database Connectors, you must set the A_CONFIG environment variable to the name of the ACUFH configuration file. You may want to make and use a personalized copy of the ACUFH configuration file to avoid impacting other users. Set the A_CONFIG environment variable to identify your own personal copy. For example:
SET A_CONFIG=directory-name\my-file-name
ensures the specified configuration file is used when interfacing with your database.
This section lists the ACUFH configuration file variables that are specific to MSSQL. For ACUFH configuration file variables that are generally applicable to any RDBMS with which Database Connectors communicates, see ACUFH Configuration Variables in the Run Time Configuration section.
As a minimum, you should set the following configuration variables:
and either:
or:
Variable | Description |
---|---|
A_MSSQL_ADD_IDENTITY | Adds an extra column to any table created by the Connector |
A_MSSQL_ADD_TIMESTAMP | Ensures that modifications made to a row are not overwriting someone else's changes |
A_MSSQL_APPROLE_NAME | Allows the Connector to use approles |
A_MSSQL_APPROLE_PASSWD | Allows the Connector to use approles |
A_MSSQL_CREATE_UNICODE_COLUMNS | Creates nchar or nvarchar columns for all new text data |
A_MSSQL_CURSOR_OPTION_1, | Allow you to fine-tune the declaration of cursors in the Connector |
A_MSSQL_DATABASE | Specifies the name of the particular database to be accessed |
A_MSSQL_DEADLOCK_LOOPS | Can be used to instruct the Connector to re-execute an INSERT statement |
A_MSSQL_DEFAULT_CONNECTION | Specifies the name of the server to which the run time system connects |
A_MSSQL_DEFAULT_OWNER | Specifies the name of the user of a table |
A_MSSQL_DO_NOT_TRANSLATE_CHAR | Enables all character fields (except date fields) to be treated as binary, instead of being translated |
A_MSSQL_FAILOVER_PARTNER | Specifies the name of the failover partner used when multi-subnet failover support is enabled |
A_MSSQL_FAILOVER_PARTNER_SPN | Specifies the name of the failover partner SPN used when multi-subnet failover support is enabled |
A_MSSQL_FAST_ACCESS | Files opened while this variable is set to a nonzero value are optimized for forward sequential access |
A MSSQL IGNORE GUID COLUMNS | Enables you to ignore columns of type GUID |
A_MSSQL_LIMIT_DROPDOWN | This variable allows an application to direct the interface not to perform "drop down" query generation and instead return "end of file" when the records matching the current query have been exhausted. |
A_MSSQL_LOCK_DB | Specifies the name of the database that holds the lock table |
A_MSSQL_LOGIN | Indicates the user name under which you want to connect to the database system |
A_MSSQL_MAX_BINARY_LENGTH | Specifies the maximum size of a COBOL variable that can be used as a BINARY data type |