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

Access service Target Interaction properties [Table of Contents] Access service Catalog Stored Procedure properties

Access Service User's Guide DirectConnect for AS/400

[-] Chapter 2 Configuring the DirectConnect Access Service Library
[-] Access service Client Interaction properties

Access service Client Interaction properties

These properties control how an access service interacts with client applications.

The subsection heading for these properties must appear in the service library configuration file as:

{Client Interaction}

ApplicationValidationFile

Points to a file with application validation information. This property is included for backward compatibility with MDI Database Gateway only. To use this feature, set the GatewayCompatible property to yes.

Syntax

ApplicationValidationFile=pathfilename

Range

0-128 characters

Default

No default

Values

pathfilename is the complete file specification, including the full path name, for the file with application validation information.

Comments

ClientDecimalSeparator

Specifies the character the client application uses to separate decimal numbers for presentation purposes. The target database does not store the client decimal delimiter character.

Syntax

ClientDecimalSeparator=[ . | , ]

Default

. (period)

Values

A period (.) indicates that the client application uses a period as the decimal delimiter.

A comma (,) indicates that the client application uses a comma as the decimal delimiter.

Comments

ClientIdleTimeout

Specifies how many minutes a client connection can remain inactive before an access service terminates the connection.

Syntax

ClientIdleTimeout=integer

Range

0-1024

Default

0

Values

integer is how many minutes a client connection can remain inactive before an access service terminates the connection.

0 indicates that an access service never terminates an idle connection.

Comments

EnableAtStartup

Specifies whether this access service starts when the DirectConnect Server starts.

Syntax

EnableAtStartup=[ no | yes]

Default

no

Values

no means that the access service does not start when the server starts.

yes means that the access service does start when the server starts.

Comments

If you are not using DirectConnect Manager for Microsoft Windows 95 and Windows 98, to manage your access services, set this property to yes.

GatewayCompatible

Specifies whether the access service accepts and returns MDI Database Gateway set statements, global variables, and a few error messages that client applications use to make processing decisions. This property is included for backward compatibility with MDI Database Gateway only. We recommend you use current access service settings.

Syntax

GatewayCompatible=[ no | yes ]

Default

no

Values

no means that the access service recognizes access service settings only.

yes means that the access service recognizes both access service settings and MDI Database Gateway settings.

Comments

MaxResultSize

Specifies the maximum number of bytes an access service returns to the client application in a result set.

Syntax

MaxResultSize=integer

Range

0-2147483646

Default

2147483646

Values

integer is a number of bytes.

A value of 0 (zero) defaults to 2147483646 bytes (the default value).

Comments

MaxRowsReturned

Specifies the maximum number of rows an access service returns to the client application in a result set.

Syntax

MaxRowsReturned=integer

Range

0-2147483646

Default

2147483646

Values

integer is a number of rows.

A value of 0 (zero) defaults to 2147483646 rows (the default value).

Comments

MaxSvcConnections

Specifies the maximum number of client connections the access service can handle at one time.

Syntax

MaxSvcConnections=integer

Range

1-n where n is the maximum number of client connections allowed by the server.

Default

MaxConnections property value of the DirectConnect Server.

Values

integer is a number of client connections.

Comments

quoted_identifier

Specifies whether to enable or disable delimited identifiers. Delimited identifiers are object names enclosed in double quotes. You can use them to avoid certain restrictions on object names. Table, view, and column names can be delimited by quotes; other names cannot.

Delimited identifiers can:

Syntax

quoted_identifer=[ on | off ]

Default

off

Values

on means that a quoted string used as an identifier is recognized.

off means that a quoted string used as an identifier is not recognized as an identifier.

Comments

SendWarningMessages

Specifies whether an access service returns warning messages to the client application.

Syntax

SendWarningMessages=[ no | yes ]

Default

no

Values

no specifies that the access service does not return warning messages to the client application.

yes specifies that the access service returns warning messages to the client application.

Comments

For information about error messages, see the DirectConnect Error Message Guide.

ServiceDescription

Describes an access service.

Syntax

ServiceDescription=char

Range

0-255 characters

Default

No default

Values

char is a user-defined character string.

Comments

This property enables you to place descriptive information in the configuration file about each access service.

TextSize

Specifies the maximum number of bytes in character columns an access service returns to the client application.

Syntax

TextSize=integer

Range

0-32767

Default

32767

Values

integer is a number of bytes.

A value of 0 (zero) defaults to 32767 (the default value).

Comments

TransactionMode

Specifies whether the access service or the client application manages commits and rollbacks.

Syntax

TransactionMode=[ short | long ]

Default

short

Values

long specifies that the access service gives commitment control to the client application. The access service keeps the connection to the target database active until one of the following occurs:

short indicates that the access service issues a commit or a rollback after each request.

Comments

For the AS/400, transaction management requires journaling on all files (table and physical), which is known as cursor stability. See the IsolationLevel property for defining journaling levels. For information about enabling journaling, see the DirectConnect Installation Guide for Enterprise Connect Data Access IPS.

Version

Allows you to customize an alternate version string for client applications that rely on a particular string that is different from the access service default version string.

Syntax

Version=versionstring

Default

The access service default version string

Values

versionstring is the version string you want reported to client applications.

Comments


Access service Target Interaction properties [Table of Contents] Access service Catalog Stored Procedure properties