FoRetryCount database parameter
Description
Specifies the number of times you want PowerBuilder to try to
fail over to an another database server if the current database
server goes down.

You must specify the FoRetryCount parameter before connecting
to the database.
Controls
-
O90 Oracle9i
-
O10 Oracle 10g
-
ORA Oracle 11g
Syntax
1 |
FoRetryCount='<span>value</span>' |
Parameter |
Description |
---|---|
value |
Specifies the number of times you want PowerBuilder to |
Default
FoRetryCount=’10’
Usage
You can enter a failover retry value only if you have enabled
failover.
This parameter cannot be set dynamically. The value set when
the connection is made remains in effect until it is disconnected.
Examples
To tell PowerBuilder to try 20 times to fail over:
-
Database profile
Enter the value 20 in the Retry Count box on the Network page
in the Database Profile Setup dialog box. -
Application
Type the following in code:
1SQLCA.DbParameter="FoRetryCount='20'"