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.
When to specify FoRetryCount You must specify the FoRetryCount parameter before connecting to the database.
O84 Oracle 8.x and Oracle8i (8.1.5 and higher database connections only)
O90 Oracle9i
O10 Oracle 10g
FoRetryCount='value'
Parameter |
Description |
---|---|
value |
Specifies the number of times you want PowerBuilder to try to fail over. |
FoRetryCount = '10'
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.
To tell PowerBuilder to try 20 times to fail over:
Database profile Enter the value 20 in the Retry Count box on the Network tab in the Database Profile Setup dialog box.
Application Type the following in code:
SQLCA.DBParm="FoRetryCount='20'"