cancel
Showing results for 
Search instead for 
Did you mean: 

ConnectionPool with PowerBuilder

04-17-2024 5:06 PM
1243 views 2 comments
0 Likes
SAP Managed Tags
Subscribe

I'm looking for tips on using ConnectionPool with SA17 and PowerBuilder.

My app is connecting/disconnecting frequently using the same userid/password. I can't use a long term connection due to how it is structured.

0 Likes

Accepted Solutions (0)

Answers (1)

Answers (1)

0 Likes

ConnectionPool

Controls the behavior of client connection pooling.

{ ConnectionPool | CPOOL }={ NO | YES [ ( [ Timeout=timeout-sec; ] [ MaxCached=max-cachedconn ] ) ] }

timeout-sec = Idle timeout in seconds before the connection is dropped. max-cachedconn= The maximum number of cached connections from each application.

Default:

ConnectionPool YES Timeout=60 MaxCached=5

Example:

;ConnectionPool=YES (Timeout=60; MaxCached=5);

VolkerBarth
Contributor
0 Likes

Hm, have you answered your own question, or is this just an addition to your question?