Sybase Technical Library - Product Manuals Home
[Search Forms] [Previous Section with Hits] [Next Section with Hits] [Clear Search] Expand Search

Working with ODBC data sources [Table of Contents] Troubleshooting connections

ASA User's Guide

[-] Part 1 Working with Databases
[-] Chapter 2: Connecting to a Database
[-] Connection parameters

Connection parameters

The following table lists the Adaptive Server Anywhere connection parameters.

For a full description of each of these connection parameters, see Connection and Communication Parameters . For character set issues in connection strings, see Connection strings and character sets .

Parameter

Short form

Argument

Agent

Agent

String (Any or Server)

AutoStart

AStart

Boolean

Autostop

AStop

Boolean

CommBufferSize

CBSize

Integer

CommBufferSpace

CBSpace

Integer

CommLinks

Links

String

ConnectionName *

CON

String

DatabaseFile

DBF

String

DatabaseName

DBN

String

DatabaseSwitches

DBS

String

DataSourceName

DSN

String

Debug

DBG

Boolean

DisableMultiRowFetch

DMRF

Boolean

EncryptedPassword

ENP

Encrypted string

Encryption

ENC

Boolean

EngineName / ServerName

ENG

String

FileDataSourceName

FileDSN

String

Integrated

INT

Boolean

LivenessTimeout

LTO

Integer

Logfile

LOG

String

Password **

PWD

String

StartLine

Start

String

Unconditional

UNC

Boolean

Userid **

UID

String

* Not used by ODBC connections

** Verbose form of keyword not used by ODBC connection parameters

Notes

Connection parameter priorities

Connection parameters often provide more than one way of accomplishing a given task. This is particularly the case with embedded databases, where the connection string starts a database server. For example, if your connection starts a database, you can specify the database name using the DBN connection parameter or using the DBS parameter.

Here are some recommendations and notes for situations where connection parameters conflict:


Working with ODBC data sources [Table of Contents] Troubleshooting connections