Connection Information

To perform the requested action, WordPress needs to access your web server. Please enter your FTP credentials to proceed. If you do not remember your credentials, you should contact your web host.

Connection Type

KeepAlive – PB Docs 2019 – PowerBuilder Library

KeepAlive – PB Docs 2019

KeepAlive

database parameter

Description

Determines whether packets are sent to the database to ensure that
the connection is still active.

When to specify KeepAlive

You must specify the KeepAlive parameter before connecting to
the database.

Applies to

ASE, SYC SAP Adaptive Server Enterprise

Syntax

Parameter

Description

value

Specifies whether the Open Client/Server
CS_CON_KEEPALIVE property is set for your connection. Values
are:

  • 1

    (Default) CS_CON_KEEPALIVE property is set.

  • 0

    CS_CON_KEEPALIVE property is not set.

Default value

KeepAlive=1

Usage

KeepAlive sets the value of the SAP Sybase CT-Lib connection
property CS_CON_KEEPALIVE to true or false. The default setting ensures
that your connection is alive by sending packets to the database when
the connection is idle. Set the value of this property to false for
mobile clients that do not maintain constant connections.

Examples

To set the KeepAlive value to 0 when you do not want to maintain a
connection:

  • Database profile

    Clear the Keep Connection Alive check box on the Network
    page.

  • Application

    Type the following in code:


Document get from Powerbuilder help
Thank you for watching.
Was this article helpful?
Subscribe
Notify of
guest
0 Comments
Oldest
Newest Most Voted
Inline Feedbacks
View all comments
0
Would love your thoughts, please comment.x
()
x