MaxConnect

Description

Sets the maximum number of simultaneous connections you want to make when accessing a database.

The default is 25 simultaneous connections. You can override this default by setting MaxConnect up to the maximum number of simultaneous connections configured on the database server.

NoteWhen to specify MaxConnect You must specify a value for the MaxConnect parameter before connecting to the database.

Applies to

Syntax

MaxConnect=value

Parameter

Description

value

The maximum number of simultaneous connections you want to make when accessing a database

Default

MaxConnect=25

Usage

DirectConnect, ASE, and SYC MaxConnect sets the Sybase CT-Lib connection property CS_MAX_CONNECT to the number of simultaneous database connections you specify for a single CT-Lib context.

Examples

Example 1

To set the MaxConnect value to a maximum of 50 simultaneous database connections: